Bug: pledge -p 'cpath wpath stdio' can remove any file or empty folder without unveilling ( -v )
medium severity
### Contact Details
l@x-cmd.com
### What happened?
Using the command below, it could delete any files, or empty folder.
```bash
pledge -p 'cpath wpath stdio' rm <any file, or empty folder>
```
Notice: `pledge -T unveil` return 0, the landlock is enabled.
### Version
pledge v1.9
I also test this in pledge v1.8, encountering same issue.
### What operating system are you seeing the problem on?
Linux
### Relevant log output
```shell
```
关闭于 2026-01-19 5 条评论