CVE-2026-141320
published medium CVSS 4.0 · 5.1Metapi before 1.3.1 ADMIN_IP_ALLOWLIST Bypass via Spoofed X-Forwarded-For Header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cita-777 | — | metapi0 to < 1.3.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.8 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cita-777 | metapi | 0 to < 1.3.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-348 Use of Less Trusted Source
References
5- 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
- metapi v1.3.1 Release Notes https://github.com/cita-777/metapi/releases/tag/v1.3.1
- VulnCheck Advisory: Metapi before 1.3.1 ADMIN_IP_ALLOWLIST Bypass via Spoofed X-Forwarded-For Header https://www.vulncheck.com/advisories/metapi-before-1.3.1-admin-ip-allowlist-bypass-via-spoofed-x-forwarded-for-header
Provider assertions
1VulnCheck · cna
Metapi before 1.3.1 ADMIN_IP_ALLOWLIST Bypass via Spoofed X-Forwarded-For Header
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7ebc5f7eddc09a684f4452f2059ad692d8bbf2eea6901e6c4811f7e358166386
- Ingested
- 01 Dec 2026, 15:53:23 UTC
- Source record
- Official CVE record