CVE-2026-141320
Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
01/12/2026
Last modified:
01/12/2026
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.
Impact
Base Score 4.0
5.10
Severity 4.0
MEDIUM
Base Score 3.x
3.80
Severity 3.x
LOW
References to Advisories, Solutions, and Tools
- 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


