
datamodel-code-generator (pip) lets a JSON-Schema `$ref` with `file://` or `../` traversal read any file the process can, bypassing --no-allow-remote-refs. Agents running codegen on untrusted schemas hand attackers filesystem read. CVE-2026-55389 https://github.com/advisories/GHSA-8359-h9fx-j6v9
Post summary
The post announces that datamodel-code-generator mishandles JSON‑Schema $refs, permitting arbitrary file reads, without providing PoC code, exploit details, or patch information.




