CVE-2026-85300 PUBLISHED

Apache Camel: Camel-PQC Private Key Disclosure via Key Material Written with Default File Permissions

Assigner: apache
Reserved: 03.09.2026 Published: 19.10.2026 Updated: 19.10.2026

Incorrect Default Permissions vulnerability in Apache Camel PQC component.

This issue affects Apache Camel: from 4.12.0 before 4.18.5, from 4.19.0 before 4.22.1.

When the component wrote generated key material to disk it did so with the permissions the process default umask produced, rather than restricting the file to its owner. On a host whose umask allows group or world read, the private key was therefore readable by other local accounts. The exposure is to a local party rather than to the remote sender that the Camel threat model treats as the primary adversary, which is why the severity is assessed low, but the consequence where it applies is complete: possession of the private key defeats every signature and key exchange the deployment performs with it.

Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. Key material is now written with owner-only permissions. For deployments that cannot upgrade immediately, place the key directory on a path only the service account can traverse, and tighten the process umask. Key material already written with permissive permissions should be treated as exposed and rotated.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 5.5

Product Status

Vendor Apache Software Foundation
Product Apache Camel
Versions Default: unaffected
  • affected from 4.12.0 to 4.18.5 (excl.)
  • affected from 4.19.0 to 4.22.1 (excl.)
  • Version 4.18.5 is unaffected
  • Version 4.22.1 is unaffected
  • Version 4.23.0 is unaffected

Workarounds

For deployments that cannot upgrade immediately, place the key directory on a path only the service account can traverse, and tighten the process umask. Key material already written with permissive permissions should be treated as exposed and rotated.

Solutions

Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. Key material is now written with owner-only permissions.

Credits

  • Claude Security finder
  • Andrea Cosentino remediation developer

References

Problem Types

  • CWE-276 Incorrect Default Permissions CWE