CVE-2026-29788: TSPortal Any User Can Forge Self-deletion Vulnerability

HIGH
Advisory Identifier: GHSA-gfhq-7499-f3f2
CVSS 7.5
CWE-1287 CWE-283
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-29788
GHSA Identifier GHSA-gfhq-7499-f3f2
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-1287: Improper Validation of Specified Type of Input
Affected Product TSPortal
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (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.

miraheze/ts-portal fixed: 30
Upgrade miraheze/ts-portal to 30
Verify Direct and Transitive Dependencies

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

### Summary Conversion of empty strings to null allows disguising DPA reports as genuine self-deletion reports. ### Details Creating 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. This 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. ### PoC New 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 ### Impact Potential unauthorized deletion of any arbitrary user's data both in the current system (TSPortal) and subsequent systems if actioned.

CVE-2026-29788 Affected TSPortal Versions

1 component(s)
Fixed Versions:
30
Product / Package Ecosystem Affected Versions Fixed Version
miraheze/ts-portal
Packagist
< 30
30

References

Frequently Asked Questions

What is CVE-2026-29788?
CVE-2026-29788 is a security vulnerability in TSPortal involving Any user can forge self-deletion requests for any account under CWE-1287: Improper Validation of Specified Type of Input.
Which TSPortal versions are affected?
Affected versions include releases prior to 30 across affected packages: miraheze/ts-portal.
What version fixes CVE-2026-29788?
Upgrading to 30 (or the latest patched release for your respective branch) resolves the vulnerability.
Is miraheze/ts-portal affected?
Yes, miraheze/ts-portal is affected in releases prior to 30. Upgrade your dependency to 30 or later.
What is the CVSS score of CVE-2026-29788?
CVE-2026-29788 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-29788?
CVE-2026-29788 is classified under CWE-1287: Improper Validation of Specified Type of Input (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.).
How can I check Packagist dependencies for CVE-2026-29788?
Run the dependency tree command: 'inspect dependencies for miraheze/ts-portal'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}