Intel

AIKIDO-2026-940601

ph7software/ph7builder is vulnerable to Path Traversal

CVE-2026-108902Published Nov 4, 2026
November 4, 2026

81

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

Before the fix, PictureCore::deletePhoto concatenated the request's picture_link into the album directory path and passed the resulting paths to File::deleteFile, so anyone who could reach the admin module's photo-moderation delete action could supply ../ sequences in picture_link and erase arbitrary files the web server could remove. The database delete in PictureCoreModel::deletePhoto had to succeed first, so the link had to reference an existing picture row for the target user. The fix compares username and link against File::getFileBasename and returns without deleting unless they equal their basenames and album_id is at least 1.

How do I fix this?

Upgrade the ph7software/ph7builder package to 18.5.0 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and expose the admin module's photo-moderation delete action to clients who can reach it and let picture_link reach PictureCore::deletePhoto.

Versions

1.3.5 - 18.4.1

Fixed in 18.5.0

Background info

ph7software/ph7builder is vulnerable to Path Traversal in versions 1.3.5 - 18.4.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea