CVE-2026-75859

Summary

CodeWhale versions before 0.8.64 fail to validate file paths in the project config instructions field, allowing attackers to read arbitrary files on the victim's system. A malicious .codewhale/config.toml file in a cloned repository can specify paths outside the workspace that are read and injected into the AI system prompt for exfiltration.

Affected Software

VendorProductVersion RangeStatus
HmbownCodeWhale0.8.8 < 0.8.41affected
HmbownCodeWhale0.8.41unaffected
HmbownCodeWhale0.8.8 < 0.8.41affected
HmbownCodeWhale0.8.41unaffected
HmbownCodeWhale0.8.41 < 0.8.64affected
HmbownCodeWhale0.8.64unaffected
HmbownCodeWhale0.8.41 < 0.8.64affected
HmbownCodeWhale0.8.64unaffected

Weaknesses

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References