CVE-2026-141320
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| cita-777 | metapi | {"endExcluding":"1.3.1"} | 1.3.1 |
References
- https://github.com/cita-777/metapi/blob/v1.3.0/src/server/middleware/auth.ts#L83-L93
- https://github.com/cita-777/metapi/commit/14eadaff6113ba380cc35f807de64e412670c540
- https://github.com/cita-777/metapi/issues/631
- https://github.com/cita-777/metapi/releases/tag/v1.3.1
- https://www.vulncheck.com/advisories/metapi-before-1.3.1-admin-ip-allowlist-bypass-via-spoofed-x-forwarded-for-header
CWEs
CWE-348
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.