Intel

AIKIDO-2026-441441

rustls is vulnerable to Incorrect Permission Assignment for Critical Resource

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 1, 2026
November 1, 2026

55

CVE Score

Medium

Incorrect Permission Assignment for Critical Resource

Are you affected? Scan for Free

TL;DR

On Unix, the SSLKEYLOGFILE file opens with the process's default permissions, subject to the umask, when SSLKEYLOGFILE is set to capture TLS secrets for debugging. A permissive umask leaves the file group- or world-readable, so another local user on the same host can read the TLS master secret or resumption PSK for every logged connection. The patch opens the file with explicit mode 0600 on Unix so only the owner can read it.

How do I fix this?

Upgrade the rustls library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you set the SSLKEYLOGFILE environment variable to log TLS secrets on a Unix system with a permissive default umask.

Package

Versions

0.1.0 - 0.23.43

Fixed in 0.23.44

Background info

rustls is vulnerable to Incorrect Permission Assignment for Critical Resource in versions 0.1.0 - 0.23.43.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea