CVE-2025-57758: Contao/core bundle Contao Applies Improper Access Control Vulnerability

MODERATE
Advisory Identifier: GHSA-7m47-r75r-cx8v
CVSS 4.3
CWE-284
Published
Advisory Summary

CVE-2025-57758 is a MODERATE (CVSS 4.3) contao applies improper access control vulnerability (CWE-284: Improper Access Control) affecting Contao/core bundle libraries in the Packagist ecosystem. The issue involves contao applies improper access control in the back end voters. Remediation is available by upgrading affected packages to version 5.3.38, 5.6.1.

CVE-2025-57758 at a Glance

CVE Identifier CVE-2025-57758
GHSA Identifier GHSA-7m47-r75r-cx8v
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-284: Improper Access Control
Affected Product Contao/core bundle
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-57758

To remediate this vulnerability, upgrade all affected Contao/core bundle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

contao/core-bundle fixed: 5.3.38
Upgrade contao/core-bundle to 5.3.38
contao/core-bundle fixed: 5.6.1
Upgrade contao/core-bundle to 5.6.1
contao/contao fixed: 5.3.38
Upgrade contao/contao to 5.3.38
contao/contao fixed: 5.6.1
Upgrade contao/contao to 5.6.1
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 contao/core-bundle

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-57758, inspect your project dependencies for Contao/core bundle:

inspect dependencies for contao/core-bundle

Analyze the terminal output to locate any version of Contao/core bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.38), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Contao/core bundle, 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

### Impact The table access voter in the back end doesn't check if a user is allowed to access the corresponding module. ### Patches Update to Contao 5.3.38 or 5.6.1. ### Workarounds Do not rely solely on the voter and additionally check `USER_CAN_ACCESS_MODULE`. ### For more information If you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).

CVE-2025-57758 Affected Contao/core bundle Versions

4 component(s)
Fixed Versions:
5.3.385.6.1
Product / Package Ecosystem Affected Versions Fixed Version
contao/core-bundle
Packagist
≥ 5.0.0
< 5.3.38
5.3.38
contao/core-bundle
Packagist
≥ 5.4.0-RC1
< 5.6.1
5.6.1
contao/contao
Packagist
≥ 5.0.0
< 5.3.38
5.3.38
contao/contao
Packagist
≥ 5.4.0-RC1
< 5.6.1
5.6.1

References

Frequently Asked Questions

What is CVE-2025-57758?
CVE-2025-57758 is a security vulnerability in Contao/core bundle involving Contao applies improper access control in the back end voters under CWE-284: Improper Access Control.
Which Contao/core bundle versions are affected?
Affected versions include releases prior to 5.3.38, 5.6.1 across affected packages: contao/core-bundle, contao/contao.
What version fixes CVE-2025-57758?
Upgrading to 5.3.38, 5.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is contao/core-bundle affected?
Yes, contao/core-bundle is affected in releases prior to 5.3.38, 5.6.1. Upgrade your dependency to 5.3.38, 5.6.1 or later.
Is contao/contao affected?
Yes, contao/contao is affected in releases prior to 5.3.38, 5.6.1. Upgrade your dependency to 5.3.38, 5.6.1 or later.
What is the CVSS score of CVE-2025-57758?
CVE-2025-57758 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2025-57758?
CVE-2025-57758 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Packagist dependencies for CVE-2025-57758?
Run the dependency tree command: 'inspect dependencies for contao/core-bundle'. 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-7m47-r75r-cx8v",
  "modified" : "2025-08-28T18:51:52Z",
  "published" : "2025-08-28T14:40:45Z",
  "aliases" : [ "CVE-2025-57758" ],
  "summary" : "Contao applies improper access control in the back end voters",
  "details" : "### Impact\n\nThe table access voter in the back end doesn't check if a user is allowed to access the corresponding module.\n\n### Patches\n\nUpdate to Contao 5.3.38 or 5.6.1.\n\n### Workarounds\n\nDo not rely solely on the voter and additionally check `USER_CAN_ACCESS_MODULE`.\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.3.38"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.4.0-RC1"
      }, {
        "fixed" : "5.6.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/contao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.3.38"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/contao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.4.0-RC1"
      }, {
        "fixed" : "5.6.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/security/advisories/GHSA-7m47-r75r-cx8v"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-57758"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/commit/3f05c603e1c94d34819f837f060df5d66447d0d7"
  }, {
    "type" : "WEB",
    "url" : "https://contao.org/en/security-advisories/improper-access-control-in-the-back-end-voters"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/contao/contao"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-28T14:40:45Z",
    "nvd_published_at" : "2025-08-28T17:15:36Z"
  }
}