CVE-2026-141320
Metapi before 1.3.1 contains an IP allowlist bypass vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cita-777/metapi/blob/v1.3.0/src/server/middleware/auth.ts#L83-L93
- github.com/cita-777/metapi/commit/14eadaff6113ba380cc35f807de64e412670c540
- github.com/cita-777/metapi/issues/631
- github.com/cita-777/metapi/releases/tag/v1.3.1
- www.vulncheck.com/advisories/metapi-before-1.3.1-admin-ip-allowlist-bypass-via-spoofed-x-f
- nvd.nist.gov/vuln/detail/CVE-2026-141320
- cve.org/CVERecord?id=CVE-2026-141320
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.