Every CVESearch/Get API key

GHSA-m2hh-2m46-x6j5

silverstripe/framework may disclose database credentials during connection failure

6.5 MediumFix available

When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.

We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

What each source reports

GitHub Advisories Score used6.5

silverstripe/framework may disclose database credentials during connection failure

When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.

We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.

Record
GHSA-m2hh-2m46-x6j5
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-209
Updated
2026-11-02
OSV6.5

silverstripe/framework may disclose database credentials during connection failure

When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.

We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.

Record
GHSA-m2hh-2m46-x6j5
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-209
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
silverstripe/framework
Packagist
3.7.0-rc1 up to 3.7.1
3.7.1
silverstripe/framework
Packagist
4.0.0-rc1 up to 4.0.5
4.0.5
silverstripe/framework
Packagist
4.1.0-rc1 up to 4.1.3
4.1.3
silverstripe/framework
Packagist
4.2.0-rc1 up to 4.2.2
4.2.2
silverstripe/framework
Packagist
3.7.0-rc1 up to 3.7.1, plus listed versions
3.7.03.7.1-rc1
3.7.1
silverstripe/framework
Packagist
4.0.0-rc1 up to 4.0.5, plus listed versions
4.0.04.0.0-rc24.0.0-rc34.0.14.0.1-rc14.0.24.0.34.0.4
4.0.5
silverstripe/framework
Packagist
4.1.0-rc1 up to 4.1.3, plus listed versions
4.1.04.1.0-rc24.1.14.1.2
4.1.3
silverstripe/framework
Packagist
4.2.0-rc1 up to 4.2.2, plus listed versions
4.2.04.2.1
4.2.2

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-m2hh-2m46-x6j5 is a medium vulnerability (CVSS 6.5) in silverstripe/framework, published May 28, 2024. No source lists public exploit code. Fixed in silverstripe/framework 3.7.1.

References

MoveEnter Open