CVE-2025-29157: petstore · Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Immediate mitigation should include restricting access to the petstore application endpoints, especially from untrusted networks, using network-level controls such as firewalls or VPNs.
- Implement custom error handling to avoid disclosing sensitive server information in error messages; configure the server to return generic error pages without revealing internal details.
- Apply input validation and sanitization on all endpoints to prevent command injection vulnerabilities, ensuring that user input cannot be interpreted as commands.
- Monitor logs for unusual access patterns to non-existent endpoints like /cart, which may indicate probing attempts.
- If possible, isolate the petstore application in a segmented network zone to limit potential lateral movement in case of compromise.
- Stay alert for official patches or updates from the petstore vendor and apply them promptly once available.
- Conduct a thorough security review of the application codebase focusing on command execution functions and error handling mechanisms.
- Employ runtime application self-protection (RASP) or web application firewalls (WAF) with rules to detect and block command injection attempts targeting the application.
Description
An issue in petstore v.1.0.7 allows a remote attacker to execute arbitrary code via accessing a non-existent endpoint/cart, the server returns a 404-error page exposing sensitive information including the Servlet name (default) and server version