Every CVE Search/ Get API key

CVE-2007-1835

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session...

4.6 MediumPublic exploit

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.

Exploit likelihood

0.72%Down 2.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.6

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.

Record
CVE-2007-1835
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.

Record
CVE-2007-1835
Updated
2026-11-02
EUVDEUVD-2007-1829 No score

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.

Record
EUVD-2007-1829
Updated
2026-11-03
GitHub AdvisoriesGHSA-9x38-6qv2-vw32 No score

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session...

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.

Record
GHSA-9x38-6qv2-vw32
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBPHP 5.2.1 - 'Session.Save_Path()' TMPDIR open_basedir Restriction Bypass2007-03-28

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD

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

In short

CVE-2007-1835 is a medium vulnerability (CVSS 4.6) in Php, published April 3, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.72%, the 54th percentile. No source names a fixed version.

References

Show 5 moreShow less
MoveEnter Open