Quarkus is an open source Java framework for building cloud-native and Kubernetes-oriented applications, with fast start-up and support for native executables through GraalVM. Security work centres on patching vulnerable extensions and dependencies, keeping secrets out of configuration files, and ensuring development-mode tooling is not reachable in production deployments.
How Quarkus fits cloud-native application security
Quarkus is designed for cloud-native and Kubernetes-oriented Java development, so its security profile is shaped by deployment speed, containerisation, and the frameworks and extensions the application uses. That means the security story is not just about code, but also about how authentication, configuration, packaging, and runtime exposure are handled from development through production.
For teams building on Quarkus, the practical question is whether the application’s security posture stays intact as it moves from local development to native images and orchestrated environments. The framework can support secure patterns, but those patterns still depend on disciplined configuration and operational controls.
Extension and dependency exposure
Quarkus applications inherit risk from the extensions and libraries they include, because vulnerable components can introduce weaknesses even when the application code itself is sound. That makes extension selection, dependency hygiene, and timely patching part of the security model rather than a separate maintenance task.
This is especially important in platform-style frameworks where many capabilities are added through modular components. A small dependency change can alter authentication behaviour, HTTP exposure, or runtime internals, so dependency review should focus on the application’s actual deployed attack surface, not just the source tree.
When Quarkus is used for service endpoints or APIs, the surrounding control expectations align well with OWASP API Security Top 10, especially where authentication and authorisation decisions are exposed through request paths and business logic.
Secrets, configuration, and runtime posture
Quarkus security depends heavily on how configuration is externalised. Secrets should not be embedded in source-controlled files or baked into build artefacts, because that creates a long-lived exposure path across development, testing, and production.
Production posture also matters. Features useful in development, such as tooling endpoints or helper services, must be positively excluded from production deployments unless there is a deliberate operational need. A secure Quarkus deployment treats environment separation as a control, not a convenience.
That operational discipline maps naturally to the secure configuration and identity controls described in NIST SP 800-53 Rev 5 Security and Privacy Controls, particularly where system configuration, access control, and integrity protections need to be enforced consistently.
Native images, startup speed, and security trade-offs
Quarkus is often chosen for fast startup and native executable support, but those benefits can change how security issues surface. Native builds reduce some runtime overhead, yet they also shift attention to build-time configuration, reflection use, classpath assumptions, and the security of the build pipeline itself.
In practice, that means teams should assume the build process is part of the trusted computing base. If the build is compromised or misconfigured, the resulting executable can faithfully carry forward insecure settings, exposed secrets, or unintended capabilities into production.
Where Quarkus is part of a broader secure software delivery chain, SLSA is a useful reference point for protecting build provenance and artifact integrity.
Risk and Threat Considerations
Quarkus security failures usually come from exploitable dependencies, exposed development features, or configuration mistakes that widen the production attack surface. In a cloud-native deployment, those weaknesses can be reached quickly and scaled across many pods or services.
Failure mechanism: An attacker benefits when a vulnerable extension, permissive endpoint, or exposed dev-mode capability is reachable in a production environment, because the framework’s speed and modularity can make misconfiguration propagate quickly.
Impact: The result can be unauthorised access, service compromise, secret disclosure, or a broader foothold inside the application tier, especially when the same insecure image or configuration is reused across environments.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5, SLSA and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API2 — Broken Authentication | Quarkus apps often expose API auth flows and bearer-token checks. |
| Recommendation — Validate authentication flows and token handling on Quarkus endpoints. | ||
| NIST SP 800-53 Rev 5 | CM-6 — Configuration Settings | Quarkus security depends on secure runtime and production configuration. |
| IA-5 — Authenticator Management | Quarkus apps commonly rely on secrets and tokens for authentication. | |
| Recommendation — Enforce secure configuration baselines for Quarkus production deployments. Manage secrets and authenticators so Quarkus credentials are rotated and protected. | ||
| SLSA | Supply-chain Levels for Software Artifacts | Quarkus native builds and extensions depend on trusted build provenance. |
| Recommendation — Apply SLSA practices to protect Quarkus build provenance and artifact integrity. | ||
| CIS Controls v8 | CIS-16 — Application Software Security | Quarkus security centres on secure dependencies, configuration, and deployment hygiene. |
| Recommendation — Review Quarkus extensions and deployment settings under application security safeguards. | ||
Practitioner Guidance
Governance implication: Treat Quarkus security as a release discipline, not only an application-code concern. Ownership should cover extension approval, secret handling, production profile review, and validation that non-production tooling is disabled before deployment.
What to watch for: Pay particular attention to dependency drift, configuration sprawl, and feature flags that behave differently between dev and prod. A secure Quarkus programme is one where the deployment artefact, not just the source code, is reviewed as the thing that enters production.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org