Advisory record · GHSA-72g6-wgrg-vhm7

Path traversal in apimock's file-serving fallback

CVSS 4.0, no score published

Published by the GitHub Advisory Database at 26 Aug 2026, 12:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
apimockcrates.io>=0.0.0-0, <4.8.1 || >=5.0.0, <5.0.04.8.1, 5.0.0
Identifiers
GHSA-72g6-wgrg-vhm7 · RUSTSEC-2026-0276 · RUSTSEC-2026-0277
Published
26 Aug 2026
Updated
2 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

apimock versions before 4.8.1 have a path traversal flaw in their file-serving fallback. An attacker who can send requests can use a parent-directory segment to read any file the process can read, returned with HTTP 200. Upgrade to apimock 4.8.1 or later. apimock 5.0.0 and later are not affected, since the serving code moved to apimock-server, which has its own fix in 5.19.1.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
Not published None 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N OSV
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 15:17 UTC First seen by agentprime
  2. 31 Oct 2026, 15:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.