Bug 2530044 (CVE-2026-87053) - CVE-2026-87053 operator-sdk-builder: operator-sdk-builder: Final container image runs as root (USER root never reverted)
Summary: CVE-2026-87053 operator-sdk-builder: operator-sdk-builder: Final container im...
Keywords:
Status: NEW
Alias: CVE-2026-87053
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-08 19:05 UTC by OSIDB Bzimport
Modified: 2026-09-08 19:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-08 19:05:05 UTC
## Final container image runs as root (USER root never reverted)

**Component:** operator-sdk-builder

The Containerfile switches to root for the dnf install layer but never reverts to a non-root user before the image's ENTRYPOINT, so the final built image runs as root by default.

### Remediation
After the dnf install layer, add `USER 1001` (or `USER default`) to revert to the go-toolset non-root user before ENTRYPOINT. If specific tasks genuinely require root, set that in the consuming Tekton Task securityContext rather than baking it into the image.

---
*Source: Ex-Wing/Glasswing Konflux CI security assessment (Mythos), finding FIND-001*


Note You need to log in before you can comment on or make changes to this bug.