Improper access control in OneDev - CVE-2021-21245
Published: January 12, 2021 / Updated: May 5, 2026
OneDev
OneDev
Description
The vulnerability allows a remote attacker to upload arbitrary files.
The vulnerability exists due to improper access control in AttachmentUploadServlet when handling file upload requests. A remote attacker can send a crafted upload request with a user-controlled File-Name header to upload arbitrary files.
This file system operation occurs before authentication or authorization checks are enforced.