Every CVE Search/ Get API key

CVE-2015-1326

python-dbusmock arbitrary code execution or file overwrite when templates are loaded from /tmp

5.7 MediumFix available

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

1.82%Up 0.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

CVE List Score used 5.7

python-dbusmock arbitrary code execution or file overwrite when templates are loaded from /tmp

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
CVE-2015-1326
CVSS 3.0
5.7 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Updated
2026-11-02
EUVDEUVD-2019-0112 5.7

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
EUVD-2019-0112
CVSS 3.0
5.7 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-74xw-82v7-hmrm 8.8

Improper Input Validation in python-dbusmock

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
GHSA-74xw-82v7-hmrm
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
NVD 5.7

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
CVE-2015-1326
CVSS 3.0
5.7 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
9.3 HighAV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-20
Updated
2026-11-02
OSV 8.8

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
CVE-2015-1326
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2015-1326 8.8

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
DEBIAN-CVE-2015-1326
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVGHSA-74xw-82v7-hmrm 8.8

Improper Input Validation in python-dbusmock

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
GHSA-74xw-82v7-hmrm
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
OSVUBUNTU-CVE-2015-1326 8.8

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
UBUNTU-CVE-2015-1326
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
5.7 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Updated
2026-11-02
OSVPYSEC-2019-155 No score

python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.

Record
PYSEC-2019-155
Updated
2026-11-02
OSVUSN-2618-1 No score

python-dbusmock vulnerability

It was discovered that python-dbusmock incorrectly handled template loading from shared directories. A local attacker could possibly use this issue to execute arbitrary code.

Record
USN-2618-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
python-dbusmock
PyPI
before 0.15.1
0.15.1
python-dbusmock
Debian:12
before 0.15.1-1
0.15.1-1
python-dbusmock
Debian:13
before 0.15.1-1
0.15.1-1
python-dbusmock
Debian:14
before 0.15.1-1
0.15.1-1
python-dbusmock
PyPI
before 0.15.1, plus listed versions
0.0.20.0.30.10.1.10.1.2
Show 33 moreShow less
0.1.30.100.10.10.10.20.10.30.110.11.10.11.20.11.30.11.40.120.130.140.150.2.00.2.10.2.20.30.3.10.4.00.50.60.6.10.6.20.6.30.70.7.10.7.20.80.8.10.90.9.10.9.2
0.15.1
python-dbusmock
Ubuntu:14.04:LTS
before 0.10.1-1ubuntu1, plus listed versions
0.7.2-2~fakesync10.7.2-20.8-10.9.1-10.9.2-10.10-1svn10.10.1-1
0.10.1-1ubuntu1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2015-1326 is a medium vulnerability (CVSS 5.7) in Python-dbusmock Project Python-dbusmock, published May 12, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.82%, the 78th percentile. Fixed in python-dbusmock 0.15.1.

References

MoveEnter Open