CVE-2026-141320: Metapi before 1.3.1 ADMIN_IP_ALLOWLIST Bypass via Spoofed X-Forwarded-For Header
Published Dec 1, 2026
·Updated
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 AUTHTOKEN can set X-Forwarded-For to an allowlisted address to reach the admin API and manage stored API keys and account credentials.
Affected Software
1 affected component
Metapi<1.3.1
Event History
Dec 1, 2026
CVE Published
via OSV·03:43 PM
Data Sourced
via OSV·03:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness
Frequently Asked Questions
1
Who can exploit this issue?
An attacker must possess a valid AUTH_TOKEN. They can then supply an X-Forwarded-For header containing an allowlisted IP address to access the admin API.
2
What access could an attacker gain through the admin API?
A successful attacker can manage stored API keys and account credentials through the admin API.
3
Which deployments need remediation?
Metapi versions before 1.3.1 are affected. Upgrade to version 1.3.1 or later.