Skip to content
Access control Advisory Advanced CVE-2025-31182

libxpc: An app may be able to delete files for which it does not have permission (CVE-2025-31182)

A flaw in libxpc allowed an app to delete files it did not have permission to delete. The issue was addressed by improving how symlinks are handled.

Alex Radocea Follow

Originally disclosed on Apple

Impact: An app may be able to delete files for which it does not have permission

Description: This issue was addressed with improved handling of symlinks.

Available for: iPhone XS and later, iPad Pro 13-inch, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 7th generation and later, and iPad mini 5th generation and later

The original report as published on Apple's security release notes, by Alex Radocea. Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper handling of symbolic links (symlinks) in libxpc, which could let an app bypass file permission checks.

What the attacker needed

A malicious app on the device

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a security flaw in a system component called libxpc on Apple devices. It meant that a normal app could delete files that it should not have been allowed to touch. The fix makes the system handle special shortcut files, called symlinks, more carefully.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Alex Radocea

View all

5 more disclosed reports, best first.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.