# CVE-2015-3156: Openstack DBaaS (Trove) Improper Link Resolution Before File Access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.0, NVD) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.46% (percentile 32, 2026-11-26)
- **CWE:** CWE-59
- **Aliases:** GHSA-98c8-36p9-gw66, PYSEC-2026-1053
- **Published:** 2017-08-11T21:00:00.000Z
- **Modified:** 2026-07-07T11:56:08.916Z

## Who should check

- Projects that depend on PyPI package trove (\< 4.0.0a0)
- Anyone running n/a (versions: see the vendor advisory)

## Description

The \_write\_config function in trove/guestagent/datastore/experimental/mongodb/service.py, reset\_configuration function in trove/guestagent/datastore/experimental/postgresql/service/config.py, write\_config function in trove/guestagent/datastore/experimental/redis/service.py, \_write\_mycnf function in trove/guestagent/datastore/mysql/service.py, InnoBackupEx::\_run\_prepare function in trove/guestagent/strategies/restore/mysql\_impl.py, InnoBackupEx::cmd function in trove/guestagent/strategies/backup/mysql\_impl.py, MySQLDump::cmd in trove/guestagent/strategies/backup/mysql\_impl.py, InnoBackupExIncremental::cmd function in trove/guestagent/strategies/backup/mysql\_impl.py, \_get\_actual\_db\_status function in trove/guestagent/datastore/experimental/cassandra/system.py and trove/guestagent/datastore/experimental/cassandra/service.py, and multiple class CbBackup methods in trove/guestagent/strategies/backup/experimental/couchbase\_impl.py in Openstack DBaaS (aka Trove) as packaged in Openstack before 2015.1.0 (aka Kilo) allows local users to write to configuration files via a symlink attack on a temporary file.

## Affected and fixed versions

- PyPI `trove`: affected \< 4.0.0a0; fixed 4.0.0a0 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade trove to 4.0.0a0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2015-3156. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2015-3156.md
Affected: trove < 4.0.0a0
Fixed in: 4.0.0a0

Steps:
1. Search this machine and project for trove (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2015-3156 being exploited?

There is no confirmed exploitation: CVE-2015-3156 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2015-3156?

Medium: CVSS 5.5 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2015-3156?

trove \< 4.0.0a0.

### Is there a fix for CVE-2015-3156?

Yes. Fixed in 4.0.0a0. Upgrade trove to 4.0.0a0 or later.

### How do I check if I'm affected by CVE-2015-3156?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2015-3156>
- vendor: <https://github.com/advisories/GHSA-98c8-36p9-gw66>
- patch: <https://github.com/openstack/trove/commit/61774984aa2bacfe89867fc39a402a6a4cfb8f33>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/mysql/service.py#L790>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/mysql_impl.py#L110>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/experimental/cassandra/service.py#L230>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/mysql_impl.py#L55>
- other: <https://bugs.launchpad.net/trove/+bug/1398195>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/experimental/couchbase_impl.py#L30>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/experimental/mongodb/service.py#L176>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/mysql_impl.py#L36>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/restore/mysql_impl.py#L194>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=1216073>
- other: <https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/experimental/redis/service.py#L236>
- other: <https://github.com/openstack/trove>
- other: <https://pypi.org/project/trove>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2015-3156>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-98c8-36p9-gw66> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1053> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2015-3156> · JSON: <https://flawdb.com/api/v1/entries/CVE-2015-3156>
