OpenProject SSRF protection and the internal IP allowlist

OpenProject blocks outbound connections to private and link-local ranges by default, which can break internal Nextcloud, Jira, identity provider or webhook hosts. This page explains how to allowlist them safely.

On this page

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.

OptionRiskOperational effortWhen it fits
Keep the default blockNo 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 IPOpens 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 rangeOpens 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 networkOpenProject 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 addressDepends 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 trialsLower 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

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 docs

Review 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.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.