CVE-2024-8238: In version 3.22.0 of aimhubio/aim, the AimQL query language uses an outdated version of the safer_getattr() fu
CVE-2024-8238 is a high-severity flaw (CVSS 8.1) affecting aim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In version 3.22.0 of aimhubio/aim, the AimQL query language uses an outdated version of the safer_getattr() function from RestrictedPython. This version does not protect against the str.format_map() method, allowing an attacker to leak server-side secrets or potentially gain unrestricted code execution. The vulnerability arises because str.format_map() can read arbitrary attributes of Python objects, enabling attackers to access sensitive variabl
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-1336 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-8238?
aim: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-8238 being exploited?
CVE-2024-8238 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-8238 affect?
CVE-2024-8238 affects aim. Severity is high (CVSS 8.1). In version 3.22.0 of aimhubio/aim, the AimQL query language uses an outdated version of the safer_getattr() function from RestrictedPython. This version does not protect against the str.format_map() method, allowing an attacker to leak serv
How urgent is CVE-2024-8238?
Priority 52/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-5321 MEDIUM 6.3 UPGRADE A vulnerability classified as critical was found in aimhubio aim up to 3.29.1
- CVE-2025-51464 HIGH 8.8 DOWNGRADE Cross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute arbitrary JavaScript in v
- CVE-2025-51463 HIGH 7.0 DOWNGRADE Path Traversal in restore_run_backup() in AIM 3.28.0 allows remote attackers to write arbitrary files to the s
- CVE-2025-0190 HIGH 7.5 DOWNGRADE In version 3.25.0 of aimhubio/aim, a denial of service vulnerability exists
- CVE-2025-0189 HIGH 7.5 DOWNGRADE In version 3.25.0 of aimhubio/aim, the tracking server is vulnerable to a denial of service attack