CVE-2026-24749: Silverstripe/assets :getURL() Permission Bypass Vulnerability
MODERATECVE-2026-24749 is a MODERATE (CVSS 5.3) :geturl() permission bypass vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Silverstripe/assets libraries in the Packagist ecosystem. The issue involves :geturl() permission bypass. Remediation is available by upgrading affected packages to version 2.4.5, 3.1.3.
CVE-2026-24749 at a Glance
Security Impact
CVSS: 5.3
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:L/I:N/A:N).
How to Fix CVE-2026-24749
To remediate this vulnerability, upgrade all affected Silverstripe/assets 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 silverstripe/assets to 2.4.5
Upgrade silverstripe/assets to 3.1.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/assets
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-24749, inspect your project dependencies for Silverstripe/assets:
inspect dependencies for silverstripe/assets
Analyze the terminal output to locate any version of Silverstripe/assets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.5), 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-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Silverstripe/assets, 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-24749 Affected Silverstripe/assets Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/assets
|
Packagist |
< 2.4.5
|
2.4.5
|
|
silverstripe/assets
|
Packagist |
≥ 3.0.0
< 3.1.3
|
3.1.3
|
References
Frequently Asked Questions
What is CVE-2026-24749?
Which Silverstripe/assets versions are affected?
What version fixes CVE-2026-24749?
Is silverstripe/assets affected?
What is the CVSS score of CVE-2026-24749?
What CWE is associated with CVE-2026-24749?
How can I check Packagist dependencies for CVE-2026-24749?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jgcf-rf45-2f8v",
"modified" : "2026-04-27T14:20:04Z",
"published" : "2026-04-16T20:40:37Z",
"aliases" : [ "CVE-2026-24749" ],
"summary" : "Silverstripe Assets Module has a DBFile::getURL() permission bypass",
"details" : "### Impact\n\nImages rendered in templates or otherwise accessed via `DBFile::getURL()` or `DBFile::getSourceURL()` incorrectly add an access grant to the current session, which bypasses file permissions.\n\nThis usually happens when creating an image variant, for example using a manipulation method like `ScaleWidth()` or `Convert()`.\n\nNote that if you use `DBFile` directly in the `$db` configuration for a `DataObject` class that doesn't subclass `File`, and if you were setting the visibility of those files to \"protected\", those files will now need an explicit access grant to be accessed. If you do not want to explicitly provide access grants for these files (i.e. you want these files to be accessible by default), you should use the \"public\" visibility.\n\n### Reported by\n\nRestruct web & apps",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/assets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/assets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-assets/security/advisories/GHSA-jgcf-rf45-2f8v"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24749"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2026-24749.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-assets"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/cve-2026-24749"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-266", "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-16T20:40:37Z",
"nvd_published_at" : "2026-04-16T18:16:44Z"
}
}