CVE-2026-29788: TSPortal Any User Can Forge Self-deletion Vulnerability
HIGHCVE-2026-29788 is a HIGH (CVSS 7.5) any user can forge self-deletion vulnerability (CWE-1287: Improper Validation of Specified Type of Input) affecting TSPortal libraries in the Packagist ecosystem. The issue involves any user can forge self-deletion requests for any account. Remediation is available by upgrading affected packages to version 30.
CVE-2026-29788 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-29788
To remediate this vulnerability, upgrade all affected TSPortal dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade miraheze/ts-portal to 30
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for miraheze/ts-portal
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-29788, inspect your project dependencies for TSPortal:
inspect dependencies for miraheze/ts-portal
Analyze the terminal output to locate any version of TSPortal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 30), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1287: Improper Validation of Specified Type of Input, where the product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type. In TSPortal, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-29788 Affected TSPortal Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
miraheze/ts-portal
|
Packagist |
< 30
|
30
|
References
Frequently Asked Questions
What is CVE-2026-29788?
Which TSPortal versions are affected?
What version fixes CVE-2026-29788?
Is miraheze/ts-portal affected?
What is the CVSS score of CVE-2026-29788?
What CWE is associated with CVE-2026-29788?
How can I check Packagist dependencies for CVE-2026-29788?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gfhq-7499-f3f2",
"modified" : "2026-03-27T15:37:10Z",
"published" : "2026-03-27T15:37:10Z",
"aliases" : [ "CVE-2026-29788" ],
"summary" : "TSPortal: Any user can forge self-deletion requests for any account",
"details" : "### Summary\nConversion of empty strings to null allows disguising DPA reports as genuine self-deletion reports.\n\n### Details\nCreating a DPA report about another user and leaving the evidence field empty causes that report to look like the reported user self-requested deletion of their data. Ingenuine report is not distinguishable from a genuine one.\n\nThis can be prevented by disabling [convertEmptyStringsToNull](https://api.laravel.com/docs/12.x/Illuminate/Foundation/Configuration/Middleware.html#method_convertEmptyStringsToNull) in the middleware, or by validating `evidence` in Http/Controllers/DPAController::store() to not be empty.\n\n### PoC\nNew DPA report -> Select \"...someone who I suspect is under the age of 13\" for the \"The above username is...\" field -> Add nothing to the \"Evidence\" field -> Submit\n\n### Impact\nPotential unauthorized deletion of any arbitrary user's data both in the current system (TSPortal) and subsequent systems if actioned.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:L/SA:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "miraheze/ts-portal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "30"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 29"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/miraheze/TSPortal/security/advisories/GHSA-gfhq-7499-f3f2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-29788"
}, {
"type" : "WEB",
"url" : "https://api.laravel.com/docs/12.x/Illuminate/Foundation/Configuration/Middleware.html#method_convertEmptyStringsToNull"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/miraheze/TSPortal"
}, {
"type" : "WEB",
"url" : "https://issue-tracker.miraheze.org/T15053"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1287", "CWE-283" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-27T15:37:10Z",
"nvd_published_at" : "2026-03-06T21:16:15Z"
}
}