Why OpenProject SSRF protection matters for internal integrations
A self-hosted OpenProject often has to reach hosts on your private network, such as an internal Nextcloud, a Jira Data Center server, an identity provider or a webhook receiver, while your security team wants server-side request forgery blocked. OpenProject resolves this by blocking outbound connections to private and link-local IP ranges by default, and it blocks hostnames that resolve to those addresses too. The allowlist is the controlled exception: it lets named internal addresses or ranges through, and it is the decision you need to make before any integration goes live.
The default block applies to every feature where the OpenProject server itself makes an outbound request. That covers the Jira Migrator while it pulls data from a source system, file storages such as a connected Nextcloud, OpenID Connect providers used for sign-in, webhooks that post events to external endpoints, and the email server tests run from the administration area. A user browsing OpenProject in a browser is not affected, because the request comes from the browser rather than the server. Map each integration in your plan to the server that calls it, since that is the host the block evaluates. Confirm with your own environment which of these features you intend to use and where their target hosts sit on your network.
Allowlist options and when each fits
This table compares four ways to handle the default block: leaving it in place, allowlisting one host, allowlisting a CIDR range, and routing through a proxy or dedicated integration network. Read each row for its risk, its operational effort and the situations where it fits. The main takeaway is that the narrower the opening, the less exposure you create, so start with the smallest allowlist entry that makes the integration work.
| Option | Risk | Operational effort | When it fits |
|---|---|---|---|
| Keep the default block | No internal request can reach private or link-local addresses from OpenProject, so the attack surface stays smallest. | None to set up, but integrations that target internal hosts will fail until a decision is made. | Use when OpenProject needs no internal file storage, identity provider, webhook or Jira Migrator source, or while you assess the requirement. |
| Allowlist a single host IP | Opens one address only, so exposure is limited to that service, but the service must keep a stable address. | Low. Add one entry to OPENPROJECT_SSRF__PROTECTION__IP__ALLOWLIST and confirm the host address is fixed. | Fits a single internal Nextcloud, identity provider or webhook host with a static address that you own and patch. |
| Allowlist a CIDR range | Opens every address in the range, so any host placed in that subnet later becomes reachable from OpenProject. | Moderate. Confirm the range contents, document the owner and review the entry when the subnet changes. | Fits a dedicated service subnet that contains only the approved integration hosts and nothing else sensitive. |
| Route through a proxy or dedicated integration network | OpenProject reaches only what the proxy or segment allows, so policy sits outside the application and can be audited separately. | Higher. Requires network design, firewall rules, proxy configuration and testing of each path. | Fits organizations with several internal integrations, segmentation rules or a requirement to log and control outbound traffic centrally. |
| Allowlist a hostname instead of an address | Depends on DNS integrity, since the name must resolve to the address you intended and not to a private range you did not expect. | Low to moderate. Confirm how the hostname resolves from the OpenProject host and monitor DNS changes. | Confirm in the official SSRF protection documentation whether hostname-based entries are supported before relying on them. |
| Use a separate test setup for trials | Lower risk to production data, but a loosened configuration can be copied into production by mistake. | Low for a test instance, plus effort to keep configuration in step with production. | Fits proof-of-concept work such as a Jira Migrator trial, which the migrator documentation advises running only in test setups. |
How to allowlist an internal host safely
This sequence takes an internal host that OpenProject must reach from a blocked private address to a narrowly scoped, reviewed exception. Each step produces a record or test result, so the change can be confirmed and audited later.
Inventory every internal host and its calling feature
List each private hostname or address that OpenProject must reach, such as a Nextcloud server, a Jira Data Center instance, an identity provider, a webhook receiver or a mail server. For each entry, name the OpenProject feature that calls it: the Jira Migrator, a file storage, an OpenID Connect login, a webhook or the email server test. Ask the owner of each system to confirm the hostname, the port and whether the address is fixed. The step is complete when every entry has a feature, an owner and a confirmed address, and any host without a clear purpose has been removed from the list.
Confirm which features the host affects
Check which OpenProject features sit behind each inventoried host. OpenProject blocks outbound connections to private and link-local ranges by default for the Jira Migrator, file storages, OpenID Connect providers, webhooks and email server tests, including hostnames that resolve to those ranges. Note whether a hostname resolves to a private address from the OpenProject server, because DNS can route the request into a range you did not intend to open. The output is a short table that maps each host to the affected features and the resolved address.
Choose the narrowest address or CIDR
Select the smallest set of addresses that covers the required host, preferably a single IP address rather than a subnet. Use a CIDR range only when the target system has several fixed addresses that cannot be reduced. Avoid broad private blocks such as entire internal networks, because each extra address widens what a user-triggered request can reach. Record the chosen value, the reason for it and the person who approved it. The check is that the value matches the inventory from the first step and nothing else.
Set the allowlist variable and restart
Add OPENPROJECT_SSRF__PROTECTION__IP__ALLOWLIST to the deployment with the chosen addresses or CIDR ranges. Because it is an environment variable rather than a user interface setting, only the people who control server configuration can change it. For a Docker installation, set it in the Compose or environment file for the application container. For a package installation, set it in the environment configuration used by the service, and for Kubernetes, set it in the workload specification or values file. Restart the affected OpenProject processes so the value loads. The check is that the running process reports the variable, which you can confirm from the container or service environment.
Test each integration that needs the host
Run one test per affected feature from an account with the relevant administrator rights. For the Jira Migrator, start a test import against a non-production Jira Data Center source. For file storage, connect the Nextcloud integration and browse a folder. For OIDC sign-in, complete a login through the identity provider. For a webhook, trigger a test delivery to the receiver. For the email server test, run the built-in test from the administration settings. Record the result, timestamp and any error text for each test. Each allowed integration should succeed, and a failure points to the address, port or certificate rather than to the allowlist alone.
Verify unrelated private ranges stay blocked
Confirm that the allowlist did not open other internal addresses. From the same feature, attempt a connection to a private address that is not on the list, such as another internal server on the same subnet, and confirm the request is refused. Repeat the check for a hostname that resolves to a private address outside the allowlist. Use a test host you own rather than a production system. The step is complete when each blocked target is refused and the refusal appears in the OpenProject logs, which gives you evidence that the exception is limited to the approved host.
Record the change for review
Store the change in your configuration management system or change log. Include the variable name, the approved addresses or CIDR ranges, the affected features, the test results from the earlier step, the blocked-range check, the approver and the review date. Store the configuration in version control where your environment allows it, and schedule a periodic review to confirm each host still exists and still needs the exception. Remove entries for retired systems. The output is an auditable record that a security reviewer or auditor can sample against the running configuration.
Which integrations need an allowlist entry
The Nextcloud integration connects Nextcloud files and folders to work packages, and it can create project folders automatically. OpenProject makes server-side requests to the Nextcloud host to do this, so a Nextcloud instance on a private address falls under the default block. When the block applies, the file storage connection fails and linked files do not load or create. The Nextcloud integration is available in the Community edition, but single sign-on for it through an OpenID Connect provider is an Enterprise add-on, so the allowlist entry for the storage host is needed even on Community installs.
- Symptom when blocked: storage connection tests fail, and linked files or automatic project folders are not created or shown.
- Hostname resolution: the block applies to hostnames that resolve to private ranges, so check the address the OpenProject container or server actually resolves.
- Scope of the entry: allow the single Nextcloud address or a narrow CIDR range rather than the whole internal network.
- Edition check: confirm which plan you run before planning OIDC sign-in for Nextcloud, because that part needs Enterprise.
- Reachability: confirm the Nextcloud host accepts connections from the OpenProject host on the port it serves.
After the change, create a test file link and a test project folder from a non-admin account to confirm both paths work.
The Jira Migrator reads from a Jira source, so a Jira Data Center instance on an internal address is blocked by default. The migrator imports from Jira Data Center 10.x and 11.x only, not Jira Cloud, so a cloud tenant will not be a valid source regardless of the allowlist. The migrator is in beta, and its documentation advises using it only in test setups, so treat any allowlist entry for it as a temporary change for a migration run, not a permanent network exception.
- Symptom when blocked: the migrator cannot connect to the source, and the run stops at the connection step.
- Version check: confirm the Jira Data Center version is 10.x or 11.x before you plan the run.
- Imported objects: projects, issues, versions, custom fields, users, groups, statuses and types are in scope, while issue relations and sprint assignments are listed as coming soon and workflows and permissions later.
- Temporary scope: add the Jira host for the migration window and remove it afterward.
- Test first: run the migration against a test OpenProject instance, as the documentation advises.
Before you open the range, confirm with the Jira administrator which address the migrator should use and that a read-only service account exists for the extraction.
OpenProject contacts OpenID Connect providers during sign-in, so an identity provider on a private address is subject to the same default block. When the block applies, users see sign-in failures at the provider step even though their credentials are correct, which often looks like a provider outage. Single sign-on through OpenID Connect is an Enterprise feature, so this entry matters only on Enterprise installations, and the Enterprise features list includes SAML, OIDC, CAS, Kerberos and Okta.
- Symptom when blocked: the sign-in button leads to an error after the provider page, and the provider's logs may show no matching login attempt.
- Discovery and token endpoints: the allowlist must cover every host OpenProject calls, which can include a separate token or metadata host.
- Load balancers: if the provider sits behind a load balancer or reverse proxy, confirm the address that resolves from the OpenProject host.
- Narrow the range: allow the identity provider address only, not the identity network segment.
- Fallback path: confirm that a local administrator account can still sign in during the change window.
Ask your identity team to confirm the exact hostnames in the provider's discovery document and whether they resolve to private addresses from the OpenProject host.
Webhooks send requests from OpenProject to a receiver that your teams run, such as an internal automation service, a chat bridge or a custom endpoint. Because the receiver often sits on a private address, the default block can stop deliveries without any visible error in the project view. Confirm the feature and the delivery behavior in your version, since the supplied facts list webhooks among the outbound paths that the block covers but do not describe the webhook delivery mechanics in detail.
- Symptom when blocked: events happen in OpenProject, but the receiving service never gets them, so check the receiver logs and the OpenProject logs together.
- Receiver identity: record which hostnames each webhook targets, since each one needs its own decision.
- Scope of the entry: allow the specific receiver address and port rather than a broad subnet, because a permissive range also lets a compromised project user reach other internal services.
- Reviewing changes: keep a list of approved receivers in your change records so the allowlist does not grow silently.
- Owner sign-off: the receiving service owner should confirm the expected payloads and retry behavior.
Send a test event from a sandbox project and confirm it arrives before you rely on the webhook for any process.
OpenProject includes an email server test in its administration area, which contacts the configured SMTP server. An internal mail relay on a private address is subject to the default block, so the test can fail even when OpenProject sends mail correctly through the same relay in production, or it can fail where the relay is correctly reachable but the test uses a different name. Treat the test failure as a diagnostic signal to confirm the address, not as proof that mail delivery is broken. Relay access for live notifications is a separate network path that the allowlist does not manage.
- Symptom when blocked: the email server test reports a connection error for an internal relay.
- Confirm the relay path: check whether notifications actually leave the server through the same host before you change anything.
- Hostname versus address: test with the name configured in the mail settings, since the block applies to hostnames that resolve to private ranges.
- Narrow entry: allow the relay address and SMTP port only.
- Revisit after changes: remove or confirm the entry whenever the relay moves.
After the change, run the email test and then send a real notification to a test account to confirm that the test result matches actual delivery.
How an outbound request is checked before it leaves OpenProject
The check starts when an enabled feature, such as a file storage, an OpenID Connect provider, a webhook, the Jira Migrator or an email server test, needs to reach a host. OpenProject resolves the hostname and checks the address against the private and link-local ranges it blocks by default. If the address falls in those ranges and is not covered by the allowlist, the request is blocked. The allowlist is set through the OPENPROJECT_SSRF__PROTECTION__IP__ALLOWLIST environment variable, so only server administrators can widen the trust boundary.
Outbound checks against the default blocked ranges and the administrator-set allowlist.
Security trade-offs of opening internal ranges
Every internal range you allow reduces the distance between an outbound request from OpenProject and a sensitive internal service. The cards below cover the decisions that keep that exception small, the controls that keep it reviewed, and the network layer that still applies if the application check is bypassed or misconfigured.
Keep CIDR ranges narrow
A broad range such as a whole private /8 or /16 lets OpenProject reach every host inside it, including databases, admin consoles and metadata endpoints that share the block. Allow the single host or the smallest subnet that holds the Nextcloud, Jira, identity provider or webhook receiver, and list each entry with its owner. Before adding a range, check which services sit inside it, because the allowlist accepts addresses or CIDR ranges and does not distinguish between them.
SSRF protection docsReview the allowlist on every change
Each new integration, server move or IP renumbering can quietly widen or break the allowlist. Treat OPENPROJECT_SSRF__PROTECTION__IP__ALLOWLIST as reviewed configuration: record the reason for each entry, the integration it serves and the date it was last confirmed. Remove entries when the integration is retired, and rerun the affected feature after each review so a stale range does not remain in place for a service that no longer exists.
Restrict who edits environment variables
OpenProject reads the allowlist from an environment variable rather than a UI setting, so only people who control the server or container configuration can open internal ranges. Confirm that the account and deployment pipeline that set these variables are limited to named server administrators, that changes go through version control or a change ticket, and that OpenProject administrators in the application do not also hold shell or orchestrator access to the host.
Log and watch outbound failures
A blocked request usually shows up as a failed Jira migration step, a file storage that will not connect or a webhook that never fires. Those failures are also the first signal that someone is probing internal addresses or that a configuration change is missing. Collect the OpenProject application logs and the reverse proxy and container logs centrally, alert on repeated blocked outbound attempts, and confirm the exact log wording for blocked requests in your installed version before writing the alert rule.
Keep metadata and admin services out
Cloud metadata endpoints, hypervisor management interfaces, container runtime APIs, and internal admin consoles are high-value SSRF targets that often sit on private or link-local addresses. Never add the ranges that host them to the allowlist, even when a single integration seems to need a neighboring address. Where an integration only needs one service on a shared subnet, allow that one host address and confirm with the platform team that no management plane is reachable from the same IP.
Enforce the check at the network layer
The application check is one layer. A vulnerability elsewhere in OpenProject or a plugin could still send requests that the check does not see, so the host and network should enforce the same policy. Configure egress firewall rules so the OpenProject container or host can reach only the approved integration addresses and ports, and deny access to management and metadata ranges. Test those rules from inside the OpenProject container, because a host-level rule may not cover a container network path.
Questions teams ask before changing the SSRF allowlist
Does an internal Nextcloud or Keycloak break by default in OpenProject?
It can, if the host resolves to a private or link-local address. OpenProject blocks outbound connections to private and link-local IP ranges by default, including hostnames that resolve to them. This applies to file storages such as Nextcloud and to OpenID Connect providers such as Keycloak. Check the address each integration resolves to from the OpenProject server itself, not from a laptop, because DNS can differ between the two. Note also the licensing split: the Nextcloud file integration is in the Community edition, while OpenID Connect sign-in through Nextcloud is an Enterprise add-on, and single sign-on for OpenProject is listed as an Enterprise feature. Test each integration from the application host before go-live.
How much effort does an allowlist change take, and what drives it?
The configuration change is small, since the allowlist is one environment variable. The effort lies in deciding what to open and proving it is safe. The main drivers are the number of integrations and hosts, whether each host has one fixed address or sits inside a range, how DNS and certificates are arranged, and how many environments such as test, staging and production need matching entries. Testing each integration adds more work than the edit itself. Cost comes from the people involved: your network and platform staff for routing and firewall decisions, plus any partner time under a written scope. Ask for a quote that lists hosts, environments and test cases, because those three items set the size of the work.
What does an allowlist change need from our own team?
The work needs four inputs from your side:
- Network owners who approve which internal addresses or CIDR ranges OpenProject may reach, and who confirm the firewall paths.
- DNS and certificate details for each integration host, including the names OpenProject connects to and the certificate chain it presents.
- Admin access to the server or container configuration where the environment variable is set, plus a way to restart OpenProject.
- A test window in which each integration, such as a Nextcloud file storage, an OpenID Connect provider or a webhook receiver, can be checked end to end.
Agree on who signs off the final ranges before the change goes live, and keep a record of each entry and its owner.
Can our own team change the OpenProject SSRF allowlist internally?
Yes, if your team has server administrator access and knows the internal network well enough to choose narrow entries. The allowlist is set through an environment variable, not a UI setting, so only server administrators can open internal ranges. That restriction is useful, but it also means the change needs the same discipline as any server configuration change. The main risk is an over-broad CIDR range, which can expose more of the internal network to server-side requests than the integration needs. Keep each entry as specific as the integration allows, record the reason and owner, and review entries when integrations change. Your team can do this without an outside partner if those controls already exist.
Do we need a consultant to review the allowlist for security?
No. Your security team can review the allowlist, and many teams do this internally. A consultant becomes useful when the review needs an independent view of whether an opened range can be abused. DeployOpen runs security testing of applications and APIs and of cloud and infrastructure, so an engagement could test whether server-side requests can reach hosts that should stay closed. DeployOpen prepares evidence for compliance assessments but does not issue audit reports or certifications, so independent auditors still judge the outcome. Ask any partner for a written scope that names the integrations, the ranges in question and the findings format before the work starts.
Does the SSRF allowlist keep working after an OpenProject upgrade?
The allowlist lives in your environment configuration, so it stays in place only while your deployment carries that setting forward. Check the variable after every upgrade, whether you run Docker, packages or Kubernetes, and confirm that the running instance reads it. Before upgrading, read the release notes for changes to SSRF handling, default ranges or variable names. Run your integration tests again after each upgrade, because an update can change how integrations connect. The most recent release notes are the right place to start, and the current patch releases are listed there.
Is an allowlist safer than turning SSRF protection off?
Yes. An allowlist opens only the addresses you name, while the default protection continues to block everything else, including private and link-local hosts reached through hostnames. Turning protection off would widen server-side reach across the whole internal network, which is the outcome the protection exists to prevent. Keep protection on, add the smallest set of addresses or CIDR ranges that each integration needs, and document why each one is there. Review the list on a fixed schedule and remove entries for retired systems.
How DeployOpen scopes and delivers SSRF allowlist work
DeployOpen plans, implements and hardens self-hosted OpenProject inside your own infrastructure, including the outbound request controls that affect the Jira Migrator, file storages, OpenID Connect providers, webhooks and email server tests. Each allowlist change is scoped to the internal hosts you actually need, applied through server configuration, and documented for your security and operations teams.
How we scope
- We inventory every integration that calls internal hosts, such as Nextcloud, Jira, identity providers and webhook receivers.
- We record which addresses or CIDR ranges each integration needs and which ranges must stay blocked.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any configuration change.
How we build
- We set OPENPROJECT_SSRF__PROTECTION__IP__ALLOWLIST as a server environment variable so only administrators can change it.
- We keep allowlist entries as narrow as the integration allows, using single addresses before broad CIDR ranges.
- We test each integration after the change to confirm the intended host connects and other private targets remain blocked.
How we hand over
- You receive the approved allowlist with the reason for each entry and the owner who approved it.
- You receive test evidence showing allowed and blocked destinations, plus the steps to repeat those checks.
- We document how to review and remove entries when an integration is retired or its host changes.
How we support
- Ongoing support covers allowlist reviews after OpenProject upgrades and changes to internal network ranges.
- Continuous testing and upgrades are available as retainers if your environment changes frequently.
- Ask any quote to state who maintains the allowlist after handover and how change requests are approved.

