# CVE-2026-81320: Hawtio-operator: hawtio-operator: tls private key written to operator log at debug level

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-532
- **Published:** 2026-09-15T05:35:37.603Z
- **Modified:** 2026-09-17T19:17:03.423Z

## Who should check

- Anyone running Red Hat build of Apache Camel - HawtIO 4 all versions

## Description

A flaw was found in hawtio-operator. When a custom Route TLS secret is configured and the operator runs at debug log level 1 or higher, the entire Route object — including the TLS private key in PEM format — is serialized to JSON and written to the operator's standard output. Operator logs are typically forwarded to centralized logging systems and readable by anyone with pods/log access in the openshift-operators namespace. Debug level 1 is a low threshold commonly enabled during troubleshooting.

## Affected and fixed versions

- Red Hat build of Apache Camel - HawtIO 4: all versions (cvelist)

## Mitigation

- Vendor workaround: Exclude logging sensitive info or apply masking.
- Set the operator log verbosity to 0 (the default) to prevent TLS key material from being written to logs. If debug logging has been enabled previously, rotate any TLS secrets that may have been exposed in the logs and purge the affected log entries from centralized logging systems.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-81320. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-81320.md
Affected: Red Hat build of Apache Camel - HawtIO 4 all versions
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat build of Apache Camel - HawtIO 4: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-81320 being exploited?

There is no confirmed exploitation: CVE-2026-81320 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-81320?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-81320?

Red Hat build of Apache Camel - HawtIO 4 all versions.

### Is there a fix for CVE-2026-81320?

No fixed version is listed in the sources yet. Vendor workaround: Exclude logging sensitive info or apply masking. Set the operator log verbosity to 0 (the default) to prevent TLS key material from being written to logs. If debug logging has been enabled previously, rotate any TLS secrets that may have been exposed in the logs and purge the affected log entries from centralized logging systems.

### How do I check if I'm affected by CVE-2026-81320?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://access.redhat.com/security/cve/CVE-2026-81320>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2524898>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-81320>

HTML: <https://flawdb.com/CVE-2026-81320> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-81320>
