Every CVE Search/ Get API key

CVE-2024-29800

WordPress Timber plugin <= 1.23.0 - Deserialization of untrusted data vulnerability

8.0 HighFix available

Deserialization of Untrusted Data vulnerability in Timber Team & Contributors Timber.This issue affects Timber: from n/a through 1.23.0.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.45%Up 0.4 points since May 10, 2024
90%50%10%1%

What each source reports

CVE List Score used 8.0

WordPress Timber plugin <= 1.23.0 - Deserialization of untrusted data vulnerability

Deserialization of Untrusted Data vulnerability in Timber Team & Contributors Timber.This issue affects Timber: from n/a through 1.23.0.

Record
CVE-2024-29800
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
EUVDEUVD-2024-1116 8.0

Deserialization of Untrusted Data vulnerability in Timber Team & Contributors Timber.This issue affects Timber: from n/a through 1.23.0.

Record
EUVD-2024-1116
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-6363-v5m4-fvq3 8.0

timber/timber vulnerable to Deserialization of Untrusted Data

Summary

Timber is vulnerable to PHAR deserialization due to a lack of checking the input before passing it into the file_exists() function. If an attacker can upload files of any type to the server, he can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution especially when Timber is used with frameworks with documented POP chains like Wordpress/ vulnerable developer code.

Details

The vulnerability lies in the run function within the toJpg.php file. The two parameters passed into it are not checked or sanitized, hence an attacker could potentially inject malicious input leading to Deserialization of Untrusted Data, allowing for remote code execution:

PoC

Setup the following code in /var/www/html: vuln.php represents our use of Timber functions and phar-poc.php represents code with a vulnerable POP chain. As an attacker, we generate our PHAR payload using the following exploit script: Generate with: then change extension file from .phar to valid extension as svg,jpg,... and execute vuln.php with php vuln.php, you should see whoami being executed:

Impact

This vulnerability is capable of remote code execution if Timber is used with frameworks or developer code with vulnerable POP chains.

Recommended Fix

Filter the phar:// protocol.

Record
GHSA-6363-v5m4-fvq3
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-73, CWE-502
Updated
2026-11-02
NVD 8.0

Deserialization of Untrusted Data vulnerability in Timber Team & Contributors Timber.This issue affects Timber: from n/a through 1.23.0.

Record
CVE-2024-29800
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
OSVGHSA-6363-v5m4-fvq3 8.0

timber/timber vulnerable to Deserialization of Untrusted Data

Summary

Timber is vulnerable to PHAR deserialization due to a lack of checking the input before passing it into the file_exists() function. If an attacker can upload files of any type to the server, he can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution especially when Timber is used with frameworks with documented POP chains like Wordpress/ vulnerable developer code.

Details

The vulnerability lies in the run function within the toJpg.php file. The two parameters passed into it are not checked or sanitized, hence an attacker could potentially inject malicious input leading to Deserialization of Untrusted Data, allowing for remote code execution:

PoC

Setup the following code in /var/www/html: vuln.php represents our use of Timber functions and phar-poc.php represents code with a vulnerable POP chain. As an attacker, we generate our PHAR payload using the following exploit script: Generate with: then change extension file from .phar to valid extension as svg,jpg,... and execute vuln.php with php vuln.php, you should see whoami being executed:

Impact

This vulnerability is capable of remote code execution if Timber is used with frameworks or developer code with vulnerable POP chains.

Recommended Fix

Filter the phar:// protocol.

Record
GHSA-6363-v5m4-fvq3
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-502, CWE-73
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
timber/timber
Packagist
2.0.0 to 2.0.0
2.1.0
timber/timber
Packagist
1.24.0 to 1.24.0
1.24.1
timber/timber
Packagist
0.16.6 up to 1.23.1
1.23.1
timber/timber
Packagist
2.0.0 up to 2.1.0
2.1.0
timber/timber
Packagist
1.24.0 up to 1.24.1
1.24.1
timber/timber
Packagist
0.16.6 up to 1.23.1, plus listed versions
0.16.80.17.00.17.20.18.00.18.1
Show 45 moreShow less
0.19.00.19.10.19.20.20.00.20.10.20.100.20.20.20.30.20.40.20.50.20.60.20.70.20.80.20.90.21.00.21.100.21.20.21.30.21.40.21.50.21.60.21.70.21.80.21.90.22.00.22.10.22.20.22.30.22.40.22.50.22.61.0-rc21.0.01.0.0-rc31.0.11.0.21.0.31.0.41.0.51.1.01.1.11.1.101.1.111.1.121.1.2
1.23.1

History

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

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

In short

CVE-2024-29800 is a high vulnerability (CVSS 8.0) in Timber Team & Contributors Timber, published April 12, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.45%, the 39th percentile. Fixed in timber/timber 2.1.0.

References

This page doesn't list everything

Left out here: 64 versions. The JSON record has them.

MoveEnter Open