CVE-2026-141320 PUBLISHED

Metapi before 1.3.1 ADMIN_IP_ALLOWLIST Bypass via Spoofed X-Forwarded-For Header

Assigner: VulnCheck
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS 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
CVSS Score: 5.1

Product Status

Vendor cita-777
Product metapi
Versions Default: unaffected
  • affected from 0 to 1.3.1 (excl.)

Credits

  • George Chen finder
  • cita-777 remediation developer

References

Problem Types

  • Use of Less Trusted Source CWE