CVE-2022-1850
PHP vulnerability analysis and mitigation

Overview

Path Traversal vulnerability (CVE-2022-1850) was discovered in GitHub repository filegator/filegator affecting versions prior to 7.8.0. The vulnerability was disclosed on May 24, 2022, and allows attackers to potentially access files outside of intended directories (NVD, CVE).

Technical details

The vulnerability is classified as a Path Traversal (CWE-22) issue, which involves improper limitation of a pathname to a restricted directory. The severity assessment shows a CVSS v3.1 Base Score of 8.1 (HIGH) according to NVD with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, while huntr.dev assessed it with a CVSS score of 5.4 (MEDIUM) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (NVD).

Impact

The vulnerability could allow attackers to access files outside of the intended directory structure, potentially exposing sensitive information and compromising system security through unauthorized file access (NVD).

Mitigation and workarounds

The vulnerability has been patched in version 7.8.0 of filegator. The fix includes implementation of proper path traversal protection by escaping dots in file paths and adding additional security checks, as evidenced in the commit that addresses this issue (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management