A self-hosted application is software that the customer operates and maintains on infrastructure it controls, even when the software itself comes from a third party. The organization is responsible for hosting, configuration, security, and ongoing maintenance across the underlying platform and application components.
Expanded Definition
A self-hosted application is software that an organisation installs and operates on infrastructure it controls, rather than consuming it as a fully managed service. That usually means the customer owns more of the stack: hosting, configuration, patching, identity integration, logging, backup, and recovery. The term is about operational responsibility, not software origin; a product can be vendor-built and still be self-hosted.
Definitions vary across vendors because some products are sold in cloud, appliance, and self-hosted editions. The practical boundary is whether the customer is responsible for the runtime and its security posture. A common misunderstanding is to treat "installed once" as "owned forever"; in reality, self-hosted software creates an ongoing maintenance commitment that can outlast the original deployment team.
For teams comparing deployment models, the key distinction is control versus convenience. Self-hosting gives more flexibility over network placement, data handling, and change timing, but it also places more responsibility on the operator to keep the application and its dependencies current.
Examples and Use Cases
Self-hosted applications appear in many security-sensitive workflows where organisations want local control over data, configuration, or access boundaries.
- An internal collaboration platform runs in the company data centre so sensitive documents never leave the organisation's network boundary.
- A customer deploys a self-hosted CI/CD tool to keep build logs, tokens, and pipeline secrets inside its own infrastructure.
- A regulated business installs an on-premise document workflow system to meet data residency and retention requirements.
- A security team hosts a self-managed password or secrets tool because it wants local control over authentication, logging, and backup.
- A vendor product is deployed in a private cloud account, but the customer still patches, monitors, and secures the environment as the operator.
The tradeoff is straightforward: self-hosting can improve control and customisation, but it also increases operational burden. Teams must plan for service hardening, patch windows, dependency compatibility, and recovery testing instead of assuming the provider will absorb those tasks.
Security Implications
Security exposure increases when self-hosted software is treated like a managed service. The operator must secure the host, application, network path, update process, and supporting identities and secrets. If any layer is neglected, the application can become a durable foothold rather than a controlled asset.
Common failure conditions include delayed patching, weak administrative access, exposed management interfaces, misconfigured backups, and secrets stored in code or config files. For self-hosted deployments, a vulnerability may remain exploitable longer because the remediation pace depends on the customer's internal change process, not on an external provider's update cycle.
That matters especially when the application handles privileged workflows, tokens, API keys, or service connections. NHIMG research shows that 79% of organisations have experienced secrets leaks, with 77% of those incidents causing tangible damage, which underscores how easily an operational deployment can turn into a credential-exposure problem when controls are inconsistent.
Domain and Governance Relevance
Self-hosted applications matter to identity and governance teams because they shift accountability for access, configuration, and lifecycle management onto the customer. The security question is not only "who built the software?" but "who is responsible for keeping it trustworthy after deployment?"
In NHI-heavy environments, self-hosted systems often sit at the centre of machine authentication, API integration, and service-to-service access. That makes ownership of secrets rotation, service account scope, logging, and offboarding more important than the deployment label itself. The same pattern appears in agentic and automation platforms when the application issues or stores non-human credentials that outlive the workflow that created them.
For governance purposes, self-hosting should trigger explicit accountability for patching, backup integrity, configuration review, and access review. Without that, the organisation may believe it has control because the system is local, while in practice it has simply accepted more operational responsibility.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS 4 — Secure Configuration of Enterprise Assets and Software | Self-hosted apps need hardened, consistently configured software and systems. |
| CIS 6 — Access Control Management | Operators own administrative access and application access paths in self-hosted systems. | |
| CIS 7 — Continuous Vulnerability Management | Self-hosted software depends on customer-led patching and exposure tracking. | |
| Recommendation — Enforce secure baselines for every self-hosted deployment and verify them continuously. Restrict self-hosted admin access to approved roles and review it regularly. Scan and remediate self-hosted application vulnerabilities on a defined patch cadence. | ||
| NIST CSF 2.0 | PR.AA-01 — Identity and Access Management Policy | Self-hosted applications require customer-owned authentication and authorization governance. |
| PR.DS-01 — Data-at-rest is protected | Operators control how self-hosted systems store and protect their data locally. | |
| DE.CM-08 — Vulnerabilities are monitored | Customers must monitor self-hosted software for exploitable weaknesses after deployment. | |
| Recommendation — Define and enforce access policy for each self-hosted application and its operators. Protect data stored by self-hosted applications with encryption and controlled storage. Monitor self-hosted applications for emerging vulnerabilities and exposure conditions. | ||
| OWASP Non-Human Identity Top 10 | NHI-02 — Secrets and Credential Management | Self-hosted applications often store and use machine credentials locally. |
| NHI-03 — Least Privilege and Access Scope | Self-hosted service accounts and tokens are frequently over-scoped. | |
| NHI-08 — Lifecycle and Offboarding | Self-hosted systems require explicit retirement of credentials, agents, and integrations. | |
| Recommendation — Inventory and rotate secrets used by self-hosted applications before they become persistent exposure. Reduce self-hosted application credentials to the minimum access they truly need. Revoke self-hosted application access paths when the software, tenant, or workflow is retired. | ||
Related resources from NHI Mgmt Group
- What breaks when GraphQL mutation handling is not tightly controlled in a self-hosted application?
- How should security teams protect self-hosted AI runtimes from memory disclosure?
- How should security teams choose between managed and self-hosted CIAM?
- How do organisations decide between self-hosted open-weight models and hosted APIs?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org