Metapi before 1.3.1 contains an IP allowlist bypass vulnerability in the admin API middleware in src/server/middleware/auth.ts that trusts the client-supplied X-Forwarded-For header
Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium : upgrade to 1.3.1 when convenient.
Data as of 1 Dec 2026, 19:00 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.8 |
- Patch
- Available – fixed in 1.3.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 1 Dec 2026.
What to do
Upgrade metapi to 1.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cita-777metapi | Affected
| Fixed in
|
GitHubmetapipkg:github/metapiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Metapi before 1.3.1 contains an IP allowlist bypass vulnerability in the admin API middleware in src/server/middleware/auth.ts that trusts the client-supplied X-Forwarded-For header. Attackers holding the AUTH_TOKEN can set X-Forwarded-For to an allowlisted address to reach the admin API and manage stored API keys and account credentials.
References
- nvd.nist.gov/vuln/detail/CVE-2026-141320 (opens in a new tab)
- github.com/cita-777/metapi/issues/631 (opens in a new tab)
- github.com/cita-777/metapi/commit/14eadaff6113ba380cc35f807de64e412670c540 (opens in a new tab)
- github.com/cita-777/metapi/blob/v1.3.0/src/server/middleware/auth.ts (opens in a new tab)
- github.com/cita-777/metapi/releases/tag/v1.3.1 (opens in a new tab)
- vulncheck.com/advisories/metapi-before-1.3.1-admin-ip-allowlist-bypass-via-spoofed-x-forwarded-for-header (opens in a new tab)