Join our Newsletter — 33% off our NHI Course

Why does a flexible Salesforce org often create more security risk over time?

Flexibility increases risk because every custom app, permission choice, and feature toggle adds another place where security can drift. As the org grows, controls become harder to standardize and easier to weaken unintentionally. Weak password settings, loose session rules, and permissive file handling can combine into a larger exposure surface, especially when changes are made to support speed or convenience.

How flexibility turns into security drift in a Salesforce org

A flexible Salesforce environment is not risky because it is customisable, it is risky because customisation tends to accumulate without a matching control model. Each app, permission set, integration, and feature toggle can introduce a new exception path, and exceptions are hard to keep consistent once the org is large, fast-moving, or managed by multiple teams.

That is why flexibility often changes the security problem from “design the right control once” into “keep many control variations aligned over time.” In practice, the org becomes more sensitive to small misconfigurations, especially where authentication, session handling, and file access are tuned for convenience rather than durable governance.

For the same reason, flexibility also increases the number of places where security decisions become implicit. A team may loosen a setting to unblock a release, add a field or object permission for a short-term need, or exempt a workflow from a standard policy, but those decisions can survive long after the original business case has changed.

Why custom apps, permissions, and toggles make standardisation harder

Security drift usually begins when the platform’s base model is no longer the real model. The documented policy may say one thing, while the live org contains overlapping profiles, exception-driven permission sets, inherited access, and integration-specific rules that only a few people understand. The more layers you add, the more difficult it becomes to answer a basic question: who can do what, and why?

This matters because standardisation is not just an administrative preference. It is what lets a team reason about least privilege, review access changes, and spot when a control has been weakened. When each business unit, sandbox, package, or app introduces its own variation, review quality drops and security changes become harder to compare across the org.

Flexibility also encourages local optimisation. A team trying to ship faster may grant broader object access, keep a session alive longer, or bypass a control that seemed inconvenient in one workflow. Those changes may be defensible individually, but together they create a pattern where the org slowly drifts away from the intended baseline.

That pattern is especially hard to reverse because Salesforce orgs are often built through accumulation, not redesign. Once business logic depends on a specific permission shape or a custom process, tightening controls later can break users, integrations, or automation. The result is a bias toward keeping permissive settings in place rather than retesting them.

Where risk concentrates as the org grows

The most common concentration points are identity-related settings, integration access, and content handling. Weak password rules, overly broad session policies, and permissive file sharing do not stay isolated. They combine with custom apps and third-party integrations to increase the blast radius of a single account compromise or an accidental overexposure event.

Integration sprawl is particularly important because it creates additional trust relationships that are easy to forget. A connected app or OAuth-based integration may be approved for one narrow use case, but later it can become a durable access path to sensitive records if its scope, token lifecycle, or ownership is not reviewed with the rest of the org.

File handling is another area where flexibility becomes exposure. When sharing rules, download access, external collaboration, and retention behaviour are tuned independently, sensitive content can move in ways that are difficult to trace. The issue is rarely one control failure; it is the combination of several loosely governed choices that makes the final exposure larger than intended.

For a concrete example of how third-party access can widen the attack surface, see Salesloft OAuth token breach, which shows how token compromise can turn an integration into a Salesforce data access path. A related chain is illustrated by Klue OAuth Supply Chain Breach, where an upstream compromise affected many downstream organisations through the same kind of trust relationship.

Risk and Threat Considerations

Flexible orgs are attractive to attackers because they tend to preserve old access paths, over-broad permissions, and forgotten integrations. The security risk is not only accidental misconfiguration, but also that a compromised account or token can exploit those weak points to move from a single foothold to broader data access.

Failure mechanism: Control drift creates inconsistent authentication, authorization, and file-sharing behaviour, so a setting that looked acceptable in one release becomes a standing exposure when repeated across apps, users, and integrations.

Impact: The org’s effective attack surface expands over time, making privilege abuse, token misuse, unauthorized record access, and data leakage more likely and harder to contain.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST SP 800-53 Rev 5 and CSA Cloud Controls Matrix set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

Framework Control / Reference Relevance
CIS Controls v8 CIS-6 — Access Control Management Flexible org risk centers on drifting permissions and access paths.
Recommendation — Standardize and review access rights regularly to keep permissions aligned with business need.
NIST SP 800-53 Rev 5 AC-6 — Least Privilege Overly broad custom permissions increase exposure as the org evolves.
AC-2 — Account Management Org growth creates more identities, integrations, and access relationships to govern.
Recommendation — Constrain privileges to the minimum required and revalidate exceptions as systems change. Track, review, and revoke accounts and access paths that no longer have a current purpose.
ISO/IEC 27001:2022 A.5.15 — Access control Flexible customisation can weaken consistent access governance over time.
Recommendation — Define and enforce a uniform access-control policy across the org and its exceptions.
CSA Cloud Controls Matrix IAM — Identity and Access Management The subject is about access governance across users, apps, and integrations.
Recommendation — Govern identities, permissions, and access exceptions as a single control surface.

Practitioner Guidance

What to prioritise: Treat configuration drift as an access-control problem, not just an admin hygiene issue. The first things to review are the settings that most directly change blast radius: broad profiles, long session lifetimes, external sharing, and any integration that can reach sensitive objects.

What to verify: Confirm that every exception has an owner, a business reason, and a review date. If a permission, toggle, or integration cannot be tied back to a current requirement, assume it is a candidate for tightening or removal.

Common mistake: Teams often assume that because a control exists in the platform, it is being enforced consistently. In a flexible org, the real question is whether the control is still the same everywhere that matters, including custom apps, packages, sandboxes, and third-party connections.

Practitioner takeaway: The safest Salesforce org is not the least flexible one, it is the one where flexibility is bounded by a small number of consistently reviewed access patterns.