Description
A vulnerability has been found in better-auth better-icons up to 1.0.5. This vulnerability affects unknown code of the component scan_project_icons/sync_icon. Such manipulation of the argument icons_file leads to path traversal. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-07-13
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker who can execute commands locally can manipulate the icons_file argument supplied to the scan_project_icons/sync_icon feature of better-auth better-icons, causing the application to resolve filesystem paths outside the intended icons directory. This classic path‑traversal flaw can allow the reader to access arbitrary files on the host. The vulnerability is identified as CWE‑22, involving improper handling of relative paths.

Affected Systems

The flaw exists in better-auth better-icons releases up to and including version 1.0.5, and in all earlier releases that contain the scan_project_icons/sync_icon component. No patch or update has been published to remove the issue, so any deployment of these versions remains vulnerable.

Risk and Exploitability

The CVSS score is 4.8 and the EPSS score is reported as less than 1 %, indicating a low likelihood of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Because the attack requires local access, it can be exploited only by an adversary who already has code execution or sufficient privileges on the system. Once privilege is gained, the path traversal could expose critical configuration or sensitive files, and depending on how sync_icon writes data, it could also allow modification of those files.

Generated by OpenCVE AI on August 1, 2026 at 10:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any vendor‑issued update or patch as soon as it becomes available; if none exists, upgrade to a version newer than 1.0.5 when released.
  • If an update cannot be applied immediately, modify the icons_file handler to strip any ".." segments and reject absolute paths before they reach the sync function. This can be implemented with a whitelist that only allows relative paths within the icons directory.
  • Limit the file system permissions of the better-icons process to read‑only for the icons directory and remove write permissions for any other directories, thereby reducing the potential impact of a path traversal attempt.
  • Enable logging for all file access performed by better-icons and monitor for any attempts to access files outside the intended directory, so that any exploitation can be detected early.

Generated by OpenCVE AI on August 1, 2026 at 10:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 04:00:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in better-auth better-icons up to 1.0.5. This vulnerability affects unknown code of the component scan_project_icons/sync_icon. Such manipulation of the argument icons_file leads to path traversal. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title better-auth better-icons scan_project_icons/sync_icon path traversal
First Time appeared Better-auth
Better-auth better-icons
Weaknesses CWE-22
CPEs cpe:2.3:a:better-auth:better-icons:*:*:*:*:*:*:*:*
Vendors & Products Better-auth
Better-auth better-icons
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Better-auth Better-icons
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-13T19:26:34.337Z

Reserved: 2026-07-12T12:51:37.994Z

Link: CVE-2026-15527

cve-icon Vulnrichment

Updated: 2026-07-13T19:26:03.587Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:00:04Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')