JLSEC-2026-1669: Medium severity julia/python_jll vulnerability
The import hook in CPython that handles legacy .pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.opencode() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Python_jllto a version that resolves this vulnerability.Fixed in 3.12.14+0
Event History
Frequently Asked Questions
What access does an attacker need to exploit this issue?
The vulnerability is rated with local attack vector and low privileges required. Exploitation does not require user interaction.
What security control is bypassed?
Audit handlers that rely on the io.open_code() audit event will not fire when legacy .pyc files are loaded through SourcelessFileLoader. This can prevent those handlers from observing or enforcing policy on that code-loading path.
How can I determine whether my environment is affected?
Check whether your application or security tooling uses sys.audit handlers to monitor io.open_code() events and whether it loads legacy .pyc files via SourcelessFileLoader. If both apply, those loads may occur without the expected audit event.