{"id":"CVE-2026-141320","aliases":["CVE-2026-141320"],"related":[],"kind":"vulnerability","state":"published","title":"Metapi before 1.3.1 ADMIN_IP_ALLOWLIST Bypass via Spoofed X-Forwarded-For Header","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-01T15:43:33.834Z","modified":"2026-12-01T16:18:24.220Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8,"rating":"LOW"}],"cwes":["CWE-348"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.3.1","status":"affected"}],"vendor":"cita-777","product":"metapi","repo":"https://github.com/cita-777/metapi","source":"cvelist"}],"references":[{"url":"https://github.com/cita-777/metapi/issues/631","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cita-777/metapi/commit/14eadaff6113ba380cc35f807de64e412670c540","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cita-777/metapi/releases/tag/v1.3.1","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cita-777/metapi/blob/v1.3.0/src/server/middleware/auth.ts#L83-L93","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/metapi-before-1.3.1-admin-ip-allowlist-bypass-via-spoofed-x-forwarded-for-header","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen","cita-777"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-141320","url":"https://www.cve.org/CVERecord?id=CVE-2026-141320","licence":"CVE Terms of Use","modified":"2026-12-01T15:43:33.834Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-141320","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141320","licence":"Public domain","modified":"2026-12-01T16:18:24.220Z"}],"updatedAt":"2026-12-01T16:32:19.422Z"}