1 Introduction

Within the context of general relativity, wormholes are topological bridges connecting two different asymptotically at regions of spacetime [1, 2] as well as two different asympotically de Sitter (dS) or anti-de Sitter (AdS) regions [3]. Interest in wormhole space-times dates back to 1916, when Flamm [4] propose ‘tunnel structure’ in the Schwarzschild solution represents a wormhole. Paging through history one finds, Einstein and Rosen [5] proposed a “bridge structure” that connect two exterior regions of a Schwarzschild black hole space time, and thus forms an inter-universe connection. This was the first attempts to obtain a regular solution without a singularity, namely, ‘Einstein-Rosen bridge’ (ERB). However, it became soon clear that obtained solution was invalid particle model as mass-energy of such a curved-space topology is the order of Planck mass. The term wormhole for these bridges was first used by J. A. Wheeler [6, 7] for microscopic charge-carrying wormholes. They showed that wormholes would collapse instantly upon formation. Moreover, if such a wormhole somehow opened, it would pinch off so quickly even a single photon could be transmitted through it, thereby preserving Einsteinian causality. Despite the dubious possibility of existing a wormhole solution, their study has opened up remarkably fruitful avenues of research.

Modern interest has been focused on traversable Lorentzian wormholes (which have no horizons, allowing two-way passage through them), was suggested by Morris and Thorne [1] and subsequently Morris, Thorne and Yurtsever [8]. They started with static, spherically symmetric metric connecting two asymptotically flat spacetimes where matter and radiation can travel freely through it, and is now a well known solution in general relativity. However, wormhole solutions are asymptotically flat with a constant or variable radius which depends on its configuration. Consequently, these geometries have a minimal surface area linked to satisfy flare-out condition, called throat of the wormhole. For this property to be accomplished it is considered that the space-times require a stress-energy tensor that violates the weak/null energy conditions. In classical GR this means, thatthe matter creating the wormhole must possess very exotic properties (negative-energy matter) [2], for example ghost scalar fields or phantom energy [9,10,11]. These hypothetical matter sounds to be unusual for the first time, but such matter appears in quantum field theory which appears as a natural consequence if the topology of spacetime fluctuates in time [12].

Since it is important and useful to minimize the usage of exotic matter. As such wormholes could be possible by choosing the geometry in a very specific and appropriate way, which was first pointed out by Visser et al. [13] and further study have also reported [14]. On the other hand, evolving wormhole satisfying the weak energy condition (WEC) could exist within classical GR [15, 16]. Even in GR it appears possible to avoids NEC violation in wormhole construction due to rotation in cylindrical symmetry, though separate effort is needed to achieve asymptotic flatness on both sides of the throat, see [17, 18].

Subsequently, motivated by Morris Thorne [1] idea, there has been intense activities in the investigation of wormholes in the modified theories of gravity and also in the higher dimensional theories of gravity [19,20,21,22,23,24] including in the Kaluza-Klein gravity [25,26,27]. Advantages in such theories are one can avoid nonstandard fluids and this was the main motivation for extensive research in modified gravity theories. Moreover, specific modifications of Einstein gravity allow additional degrees of freedom in the gravitational sector which can be used, amongst others, to resolve the dark energy and the dark matter problems. Wormholes in f(R) gravity [28] have been constructed without exotic matter. In the same context, Refs. [29,30,31,32,33] and the citations therein, are quite useful to understand wormhole geometries with different inputs and examined the validity of energy conditions. Such wormhole geometries are supported by a non-minimal curvature-matter coupling are obtained in [34] and also the curvature-matter coupled theory, f(RT) gravity, where exact wormholes solutions were obtained [35,36,37]. In Ref. [38], wormhole solutions in the background of Born-Infeld theory, scalar-tensor tele-parallel theories [39] and other related works have been found [40, 41].

The wormholes geometries also received significant attention in higher curvature Einstein-Gauss-Bonnet (EGB) theory [42,43,44], and also in the Lovelock gravity [45, 46]. It may be mentioned that EGB theory, particular case of Lovelock gravity, is a natural generalizations of general relativity, to higher dimensions, introduced by Lanczos [47], and rediscovered by David Lovelock [48, 49]. The EGB gravity has been widely studied, because it can be obtained in the low energy limit of string theory [50, 51], is known free from instabilities when expanding about flat spacetime [52], and also leads to the ghost-free nontrivial gravitational self-interactions [54].

However, the EGB theory is topological in 4D as the GB Lagrangian is a total derivative, so it does not contribute to the gravitational dynamics and thereby for non-trivial gravitational dynamics in EGB theory one requires \(D \ge 5\). This issue of the EGB theory was recently addressed by Glavan & Lin [55] by rescaling the Gauss-Bonnet coupling constant \(\alpha \) as \(\alpha /(D -4)\), and taking the limit \(D \rightarrow 4\) at the level of the field equation and the resulting EGB in gives rise to non-trivial dynamics in 4D. For definiteness we shall call it the 4D EGB gravity, which has some in interesting property viz. it bypasses the conclusions of Lovelock’s theorem and avoids Ostrogradsky instability. It worth pointing a priori that dimensional regularization of this was considered by Tomozawa [56] with similar consequences.

The 4D EGB theory received compelling attention initiated by Glavan and Lin [55] (see also [56, 57]) who also proposed a static spherically symmetric vacuum black holes which hold interesting properties, e.g., the black holes are free from the singularity problem, at small distances, the gravitational force is repulsive and an infalling particle fails to reach the singularity [55]. This is in contrast to the analogous HD black holes [52] Schwarzschild like curvature singularity inevitably forms. Other cascades of work includes, Charged version of spherically symmetric black holes [58] in an anti-de Sitter spacetime [58], a Vaidya-like radiating black holes in Ref. [59], generating black holes solution was also addressed in Ref. [60] also regular black holes [61, 62]. Additionally, black hole solutions and their physical properties, such as rotating black holes using Newman-Janis algorithm [63, 64], rotating black hole as particle accelerator [65]. On the other hand, thermodynamical properties of anti-de Sitter black hole [66], geodesics motion and shadow [67], gravitational lensing [68, 69], relativistic stars in 4D EGB [70], and we refer the reader to [71,72,73,74,75,76,77,78,79,80,81] for other contributions and related issues details. Important contributions in the context include objections on the 4D EGB theory raised in Ref. [82] and the derivation of regularized field equations in Refs. [83, 84].

However, the above regularization procedure proposed in [55, 57] is currently under debate as several question are also being raised regarding it’s validity [82, 84,85,86,87,88]. In turn, alternate regularization procedures have been also proposed [84, 89, 90, 90, 91]. However, the spherically symmetric 4D black hole solution obtained in [55, 57] remains are also coincides in these regularised theories [84, 89, 91, 94], and no new solutions could be obtained in these alternate proposal at least for the special case of 4D Spherical symmetric spacestime.

However, the wormhole geometries is still unexplored, e.g., the generalization of Moris-Thorne wormhole solutions [1] is still unknown. It is the purpose of this paper to obtain this wormhole in the 4D EGB theory of gravity and investigate how the squared curvature terms effect the wormhole geometriy.

The paper is organized as follows: In the next Sect. 2, we review the field equations in the 4D EGB gravity and show that it makes a nontrivial contribution to gravitational dynamics in 4D as well. In Sect. 3, among other things, we obtain the field equations and four wormhole solutions including ans exact isotropic/anisotropic wormhole spacetime in the 4D EGB gravity with a constant redshift function. In Sect. 4 we discuss the wormhole mass function. The embedding diagrams of our wormhole metrics is the subject of Sect. 5. The Sect. 6 is devoted to elaborate the energy conditions and the volume integral quantifier in 7. Finally we comment on our results in Sect. 8.

We have used units which fix the speed of light and the gravitational constant via \(\hbar =G=c=1\).

2 Basic equations of EGB gravity

We begin with a short review on the EGB gravity in D-dimensions and also derive the equations of motion. The gravitational action of the EGB theory reads

$$\begin{aligned} \mathcal {I}_{A}=\frac{1}{16 \pi }\int d^{D}x\sqrt{-g}\left[ R +\frac{\alpha }{D-4} \mathcal {L}_{\text {GB}} \right] +\mathcal {S}_{\text {matter}}, \end{aligned}$$
(1)

where g denotes the determinant of the metric \(g_{\mu \nu }\) and \(\alpha \) is the Gauss-Bonnet coupling coefficient with dimension \([length]^2\). The discussion, in this paper, will be given here corresponding to the case with \(\alpha \ge 0\). The term \(\mathcal {L}_{\text {GB}}\) is the Lagrangian defined by

$$\begin{aligned} \mathcal {L}_{\text {GB}}=R^{\mu \nu \rho \sigma } R_{\mu \nu \rho \sigma }- 4 R^{\mu \nu }R_{\mu \nu }+ R^2. \end{aligned}$$
(2)

Here, \(S_{\text {matter}}\) is the matter fields appearing in the theory. The variation of (1) with respect to metric \(g_{\mu \nu }\) gives the field equations [59]

$$\begin{aligned} G_{\mu \nu }+\frac{\alpha }{D-4} H_{\mu \nu }= 8 \pi T_{\mu \nu }, \end{aligned}$$
(3)

where \( T_{\mu \nu }= -\frac{2}{\sqrt{-g}}\frac{\delta \left( \sqrt{-g}\mathcal {S}_m\right) }{\delta g^{\mu \nu }}\) is the energy momentum tensor of matter with the following expression

$$\begin{aligned} G_{\mu \nu }= & {} R_{\mu \nu }-\frac{1}{2}R g_{\mu \nu },\nonumber \\ H_{\mu \nu }= & {} 2\Bigr ( R R_{\mu \nu }{-}2R_{\mu \sigma } {R}{^\sigma }_{\nu } {-}2 R_{\mu \sigma \nu \rho }{R}^{\sigma \rho } {-} R_{\mu \sigma \rho \delta }{R}^{\sigma \rho \delta }{_\nu }\Bigl ) \nonumber \\&-\, \frac{1}{2}\mathcal {L}_{\text {GB}}g_{\mu \nu }, \end{aligned}$$
(4)

with R the Ricci scalar, \(R_{\mu \nu }\) the Ricci tensor, \(H_{\mu \nu }\) is the Lancoz tensor and \(R_{\mu \sigma \nu \rho }\) the Riemann tensor. In general the GB terms is total derivative in 4D space-time, and hence do not contribute to the field equations. However, with re-scaled coupling constant \( \alpha /(D-4)\), and considering maximally symmetric spacetimes with curvature scale \(\mathcal{K}\) [59], we obtain

$$\begin{aligned} \frac{g_{\mu \sigma }}{\sqrt{-g}} \frac{\delta \mathcal {L}_{\text {GB}}}{\delta g_{\nu \sigma }} = \frac{\alpha (D-2) (D-3)}{2(D-1)} \mathcal{K}^2 \delta _{\mu }^{\nu }, \end{aligned}$$
(5)

obviously the variation of the GB action does not vanish in \(D=4\) because of the re-scaled coupling constant [55].

To obtain wormholes in the 4D EGB, we use the regularization process in [55, 57], as the 4D spherical solutions obtained in [55, 57] are also exactly same as obtained in other regularised theories [84, 89, 91, 94].

3 Wormhole solutions for the 4D EGB

To begin discussion on the wormhole in the 4D EGB, it is mandatory to consider the general static, spherically symmetric metric D-dimensional metric [42] given by

$$\begin{aligned} ds^2=-e^{2\Phi (r)}dt^2+\frac{dr^2}{1-\frac{b(r)}{r}}+r^2d\Omega _{D-2}^2. \end{aligned}$$
(6)

where

$$\begin{aligned} d\Omega ^2_{D-2} = d\theta ^2_1 + \sum ^{D-2}_{i=2}\prod ^{i-1}_{j=1} \sin ^{2}\theta _j\;d\theta ^2_i \;, \end{aligned}$$

and \(\Phi (r)\) is the redshift functions of an infalling body, and it must be finite everywhere to avoid the presence an event horizon. On the other hand, b(r) represents the spatial shape function of the wormhole geometry, it determine the shape of the wormhole in the embedding diagram [42]. Note that b(r) should obey the boundary condition \(b(r = r_0\)) = \(r_0\) at the throat \(r_0\) where \(r_0 \le r \le \infty \). Now, to ensure the traversibility of wormhole, the function b(r) must satisfy the flaring-out condition that can be obtained from the embedding calculation, and reads

$$\begin{aligned} \frac{b(r)-rb^{\prime }(r)}{b^2(r)}>0. \end{aligned}$$
(7)

This condition can also be written in a compactified form, namely, \(b^{\prime }(r_0) < 1\) at the throat \(r = r_0\). The condition \(1 - b(r)/r \ge 0\) is also imposed.

We consider an anisotropic fluid for the matter source defined by the stress energy tensor

$$\begin{aligned} T^\nu _i= & {} (\rho +\mathcal {P}_t)u^\nu u_i + \mathcal {P}_t g^\nu _i + (\mathcal {P}_r-\mathcal {P}_t)\chi _i \chi ^\nu , \end{aligned}$$
(8)

where \(u_\nu \) is the D-velocity and \(\chi _\nu \) is the unit spacelike vector in the radial direction with \(\rho (r)\) is the energy density and \(\mathcal {P}_r (r)\) and \(\mathcal {P}_t (r)\) are the radial and transverse pressures, respectively. On using the metric (6) with stress tensor (8), in the limit \(D \rightarrow 4\), the components of the field equations (3) can be written as

$$\begin{aligned} 8\pi \rho (r)= & {} \frac{\alpha b(r)}{r^6}\left( 2 r b'(r)-3b(r)\right) \end{aligned}$$
(9)
$$\begin{aligned}&+\frac{b'(r)}{r^2} , \end{aligned}$$
(10)
$$\begin{aligned} 8\pi \mathcal {P}_r (r)= & {} \frac{\alpha b(r)}{r^6}\left( 4 \Phi ' r(r-b(r))+b(r)\right) \nonumber \\&+\frac{2\Phi '(r-b(r))}{r^2}-\frac{b(r)}{r^3},\nonumber \\ 8\pi \mathcal {P}_t (r)= & {} \left( 1-\frac{b(r)}{r}\right) \left[ \left( \Phi ''+\Phi '^2\right) \left( 1+\frac{4\alpha b(r)}{r^3}\right) \right. \nonumber \\&+\frac{1}{r} \left( \Phi '-\frac{rb'(r)-b(r)}{2r(r-b(r))}\right) \left( 1-\frac{2\alpha b(r)}{r^3}\right) \nonumber \\&\left. - \frac{(rb'(r)-b(r)) \Phi '}{2r(r-b(r))} \left( 1-\frac{8\alpha }{r^2}+\frac{12\alpha b(r)}{r^3}\right) \right] \nonumber \\&-\frac{2\alpha b^2(r)}{r^6}, \end{aligned}$$
(11)

where the prime denotes a derivative with respect to the radial coordinate r. In this context, we have five unknown functions of r, i.e., \(\rho (r)\), \(\mathcal {P}_r\), \(\mathcal {P}_t\) (r), b(r) and \(\Phi (r)\). We provide below several plan of action for solving the system of equations. Further, we need an additional restriction to close the system and solve the field equations.

3.1 Isotropic solution

In order to simplify the problem we consider a constant redshift function, namely, a wormhole solution with zero tidal force, i.e. \(\Phi (r)= \Phi _0=\text {const}\), which simplifies the calculations, and provides interesting exact wormhole solutions. In a recent works [83, 84], it was shown that by taking the trace of the field equations (3) one has the simple form

$$\begin{aligned} R+\frac{\alpha }{2}\mathcal {L}_{\text {GB}}=-8\pi T, \end{aligned}$$
(12)

where the trace \(T=T^{\mu }_{ \nu }\). Using the metric form (6) for isotropic fluid matter we can use the relation \( \mathcal {P}_r(r)=\mathcal {P}_t(r) =\omega \rho (r) \) obtain the following condition

$$\begin{aligned} \frac{2 b'(r)}{r^2}+8\pi \left[ -\rho (r)+3 \omega \rho (r) \right] =0. \end{aligned}$$
(13)

Utilizing Eqs. (12) and (9), we obtain a differential equation for the shape function as

$$\begin{aligned}&3 r \left[ 2 \left( \omega -\frac{1}{3}\right) \alpha b(r)+r^3\left( \omega +\frac{1}{3}\right) \right] b'(r)\nonumber \\&\quad - 9 b^2(r)\alpha (\omega -\frac{1}{3})=0. \end{aligned}$$
(14)

Solving the above equation for b(r) which has the following form

$$\begin{aligned} b(r)=-\frac{r^3\left( 3\omega +1\right) }{\alpha \left( 3 \omega -1\right) }\left( 1 \pm \sqrt{1+\frac{4 C \alpha (3\omega -1)}{ r^3 (1+3\omega )^2}} \right) , \end{aligned}$$
(15)

and apply the condition \(b(r=r_0)=r_0\), we find the constant of integration

$$\begin{aligned} C=\frac{r_0^2(3\omega +1)+\alpha (3 \omega -1)}{r_0} \end{aligned}$$
(16)

Finally, the explicit form of shape function is

$$\begin{aligned} b(r)=-\frac{r^3(3\omega +1)}{\alpha (3 \omega -1)}\left( 1 \pm \sqrt{1+\frac{4 \alpha \mathcal {A} }{ r^3 r_0 } } \right) , \end{aligned}$$
(17)

where

$$\begin{aligned} \mathcal {A}=\frac{(3\omega -1)}{(1+3\omega )^2}( r_0^2(3 \omega +1)+\alpha (3 \omega -1)). \end{aligned}$$
(18)

Note that the solution given by (17) holds for \(\omega \ne 1/3\) only. The ± sign in Eq. (17) refers to two different branches of solution. Boulware and Deser [52] have demonstrated that EGB black holes with \(+\)ve branch sign are unstable and the graviton degree of freedom is a ghost, while the branch with −ve sign is stable and is free of ghosts. In our case, in the limit \(\alpha \rightarrow 0\), the \(+\)ve positive branch leads to

$$\begin{aligned} \frac{b(r)}{r}=-\frac{r^2(3 \omega +1)}{(3\omega -1)\alpha }-\frac{r_0}{r} \ldots \end{aligned}$$
(19)

which is a wormhole solution in a de-Sitter/ anti-de Sitter spacetimes depending on the sign of \(\alpha \). On the other hand, in the limit \(\alpha \rightarrow 0\), the −ve goes over

$$\begin{aligned} \frac{b(r)}{r}=\frac{r_0}{r}+ \cdots , \end{aligned}$$
(20)

and the standard Morris–Thorne wormhole is obtained when the cosmological constant vanishes. Henceforth we restrict to the −ve branch in which case the 4D EGB wormhole metric reads

$$\begin{aligned} ds^2=-dt^2+\frac{dr^2}{1+\frac{r^2(3\omega +1)}{\alpha (3 \omega -1)}\left( 1 \pm \sqrt{1+\frac{4 \alpha \mathcal {A} }{ r^3 r_0 } } \right) } +r^2 d\Omega ^2_2, \end{aligned}$$
(21)

with the unit sphere line element is given by \(d \Omega _2^2= d \theta ^2+\sin ^2\theta d \phi ^2\). Notice that the above analyses is correct for the interval \(\omega \ge -1/3\) along with \(\omega \ne 1/3\). For values \(\omega <-1/3\) the sign of the solutions flips.

3.2 Supporting conditions in anisotropic fluid scenario

We shall argue that there are two ways to find an anisotropic solution. The first way is to use Eq. (12), while the second way is to utilize the conservation of the energy-momentum tensor. As one can easily see that for static and spherical symmetric equations of motion with the anisotropy fluid is in hydrostatic equilibrium. Therefore, covariant derivative of the energy momentum tensor of matter is given by

$$\begin{aligned} \mathcal {P'}_r(r)=\frac{2(\mathcal {P}_t(r)-\mathcal {P}_r(r))}{r}-(\rho (r)+\mathcal {P}_r(r))\Phi '(r). \end{aligned}$$
(22)

Taking into account Eqs. (11)–(11) along with an interesting EoS [92],

$$\begin{aligned} \mathcal {P}_t(r)=\omega _t \mathcal {P}_r(r), \end{aligned}$$
(23)

leads to the following expression

$$\begin{aligned}&\left( 2 r \alpha b(r)-r^4 \right) b'(r)+ 2 b(r) r^3 \left( \omega _t+\frac{1}{2}\right) \nonumber \\&\quad - 2 b(r)\alpha b(r)(\omega _t+2)=0, \end{aligned}$$
(24)

where the EoS parameter \(\omega _t\) and the redshift function \(\Phi (r)\) are constants. Solving the last differential equation we get the following shape function

$$\begin{aligned} b(r)=\frac{r^3}{2 \alpha }\left[ 1 \pm \sqrt{1+ \frac{4 \alpha e^{-2 C_1 (\omega _t-1)}}{r^{2(1-\omega _t)}}} \right] , \end{aligned}$$
(25)

where \(C_1\) is a constant of integration, which can be fixed using the condition \(b(r=r_0)=r_0\), Then the shape function modifies to

$$\begin{aligned} b(r)=\frac{r^3}{2 \alpha } \left[ 1 \pm \sqrt{1+\frac{4 \alpha r^{2(\omega _t-1)} }{r_0^{2 (\omega _t+1)}}(\alpha -r_0^2)} \right] . \end{aligned}$$
(26)

Similarly for the \(+\)ve branch sign in the limit \(\alpha \rightarrow 0\), we obtain

$$\begin{aligned} \frac{b(r)}{r}=-\left( \frac{r_0}{r}\right) ^{-2 \omega }+ \frac{r^2}{\alpha }+\cdots . \end{aligned}$$
(27)

which is a wormhole solution in a de-Sitter/ anti-de Sitter spacetimes depending on the sign of \(\alpha \). On the other hand, in the limit \(\alpha \rightarrow 0\), the −ve goes over

$$\begin{aligned} \frac{b(r)}{r}=\left( \frac{r_0}{r}\right) ^{-2 \omega }+ \cdots , \end{aligned}$$
(28)

which reduces to the standard Morris–Thorne wormhole. Henceforth, we restrict to the −ve branch for anisotropic fluid in the 4D EGB takes the form

$$\begin{aligned} ds^2=-dt^2+\frac{dr^2}{1-\frac{r^2}{2 \alpha } \left[ 1 - \sqrt{1+\frac{4 \alpha r^{2(\omega _t-1)} }{r_0^{2 (\omega _t+1)}}(\alpha -r_0^2)} \right] }+r^2d\Omega _2^2. \end{aligned}$$
(29)

As we have already pointed out, the second way to obtain our solution (26) is based on the condition (12). Thus, using Eqs. (23) and (12), we will re-derive the expression

$$\begin{aligned} \frac{2 b'(r)}{r^2}+8\pi \left[ -\rho (r)+\mathcal {P}_r(1+ 2\omega _t) \right] =0. \end{aligned}$$
(30)

Substituting all the expressions (9-11) and solve for b(r), one can independently arrive the same solution (25).

Fig. 1
figure 1

Plots for b(r) and \(b'(r)\) as a function of r for our exact isotropic wormhole. The constants are \(\alpha =0.1\), \(\omega =0.5\) and \(r_0=1\) for the left and right plots, respectively

Fig. 2
figure 2

Representation of b(r) and \(b'(r)\) as a function of r for the anisotropic wormhole. The constants are \(\alpha =0.1\) and \(r_0=1\) along with \(\omega _t=-1/3\) for left and right plots, respectively

Fig. 3
figure 3

Plots for b(r) and \(b'(r)\) as a function of r for our assumed model \(\rho (r)=\rho _0 \left( \frac{r_0}{r} \right) ^{\beta }\). The constants are \(\alpha =0.1\), \(\rho _0=0.01\) and \(r_0=1\) along with \(\beta =4\) for the left and right plots, respectively

3.3 Model with \(\rho (r)=\rho _0 \left( \frac{r_0}{r} \right) ^{\beta }\)

One can also consider a specific energy density to obtain the shape function. Here, we shall consider the following energy density profile given in [97]:

$$\begin{aligned} \rho (r)=\rho _0 \left( \frac{r_0}{r} \right) ^{\beta }, \end{aligned}$$
(31)

where \(\beta \) and \(\rho _0\) are constants. Solving the Eq. (9), we obtain the following shape function

$$\begin{aligned} b(r)=-\frac{r^3}{\alpha }\left( 1 \pm \sqrt{1+ \frac{4 \alpha \left( C(3-\beta )+ 8 \pi r^3 \rho _0 ( \frac{r_0}{r})^{\beta } \right) }{r^3}} \right) , \end{aligned}$$
(32)

in which C is a constant of integration. Using the condition \(b(r=r_0)=r_0\), we obtain

$$\begin{aligned} C=\frac{8 \pi \rho _0 r_0^3}{\beta -3}. \end{aligned}$$
(33)

Substituting the above expression into the Eq. (32), one obtains the two different branches of the solution, which are

$$\begin{aligned} b(r)=-\frac{r^3}{\alpha }\left( 1 \pm \sqrt{1+ \frac{32 \pi \rho _0 \alpha \left( -r_0^3+ r^3 ( \frac{r_0}{r})^{\beta } \right) }{r^3}} \right) . \end{aligned}$$
(34)

Note that the branch with −ve sign is stable and we chose as the physical solution, provided \(\beta \ge 4\). On the other hand \(\beta =3\), there is an apparent singularity. Notice that there is a third case when \(\beta =1,2\), where the sign in the solution flips. The −ve branch solutions for \(\beta \ge 4\) are asymptotically flat, for example by choosing \(\beta =4\) one can see this by considering the limit \(\alpha \rightarrow 0\), the −ve gives

$$\begin{aligned} \frac{b(r)}{r}=\frac{8 \pi \rho _0 r_0^3 (r-r_0)}{r^2}+ \cdots \end{aligned}$$
(35)

On the other hand, in the limit \(\alpha \rightarrow 0\), the \(+\)ve goes over

$$\begin{aligned} \frac{b(r)}{r}=-\frac{r^2}{\alpha }-\frac{8 \pi \rho _0 r_0^3 (r-r_0)}{r^2}+ \cdots , \end{aligned}$$
(36)

which corresponds to the wormhole solution in a de-Sitter/ anti-de Sitter spacetimes. Finally one can check that for \(\beta =1,2\) our solutions are not asymptotically flat. Using the shape function (32) the wormhole metric defines by the expression

$$\begin{aligned} ds^2=-dt^2+\frac{dr^2}{1+\frac{r^2}{\alpha }\left( 1- \sqrt{1+\zeta } \right) }+r^2d\Omega ^2_2, \end{aligned}$$
(37)

where

$$\begin{aligned} \zeta =\frac{32 \pi \rho _0 \alpha \left( -r_0^3+ r^3 \left( \frac{r_0}{r}\right) ^{\beta } \right) }{r^3}, \end{aligned}$$

provided \(\beta \ge 4\). As we pointed out one should be careful as we already pointed out when \(\beta =1,2\), the sign in the solution flips. As a special case one can consider the limit \(\beta \rightarrow 0\), in that case the energy density is a constant quantity i.e. \(\rho =\rho _0\). As a special example one can consider a wormhole supported by vacuum energy, i.e. \(\rho _0=\rho _{vac}\), which can be described by the energy-momentum tensor written as [3, 96]

$$\begin{aligned} T^{(vac)}_{\mu \nu }=-g_{\mu \nu } \rho _{vac}. \end{aligned}$$
(38)

In fact it quite easy to observe that the effect of an energy-momentum tensor with a cosmological constant is obtained by moving the \(\Lambda g_{\mu \nu }\) term to the right-hand side in our field equation (3). The vacuum can therefore be thought of as a perfect fluid [3, 96]

$$\begin{aligned} \rho _{vac}=\frac{\Lambda }{8 \pi } \end{aligned}$$
(39)

and

$$\begin{aligned} p_{vac}=-\rho _{vac}. \end{aligned}$$
(40)

One can easily get the expression for shape function, inserting the Eqs. (39) to (9), and the b(r) is

$$\begin{aligned} b(r)=-\frac{r^3}{2 \alpha }\left( 1 \pm \sqrt{1+\frac{4 \Lambda \alpha }{3 r}-\frac{4\alpha (\Lambda r_0^4-3 r_0^2-3 \alpha )}{3 r^3 r_0}} \right) . \end{aligned}$$
(41)

To this end, we need a specific EoS such that the Eq. (12) will be satisfied. Note that due to the presence of the cosmological constant our solution (41) is not asymptotically flat. Same situation has precisely pointed out in our articles [98, 99], where solutions are supported by quantum effects using the Casimir energy and GUP corrected Casimir energy.

Fig. 4
figure 4

The embedding diagram of wormholes geometry along the equatorial plane (\(t = \hbox {const}\), \(\theta =\pi /2\)). The specific case of a constant redshift \(\Phi '(r)=0\) with \(\alpha =0.1\) and \(r_0=1\), we have drawn embedding diagram for isotropic i.e model A and anisotropic wormhole i.e. model B in the left and right diagram, respectively. We have considered the numerical values of \(\omega =0.5\) and \(\omega _t= -1/3\)

3.4 Model with \(b(r)=r \left( \frac{r_0}{r} \right) ^{n+1}\)

One can simplify the mathematical formalism by assuming a well known shape function with the following form

$$\begin{aligned} b(r)=r \left( \frac{r_0}{r} \right) ^{n+1}, \end{aligned}$$
(42)

where n is a constant such as: \(n=0, 1, 1/2. -1/2, ...\). Next, substituting b(r) in Eq. (9) and solving for \(\rho \), we obtain

$$\begin{aligned} \rho (r)=-\frac{r_0 \left[ 2 r_0 \alpha \left( n+\frac{3}{2}\right) \left( \frac{r_0}{r}\right) ^{2n}+n r^3 \left( \frac{r_0}{r}\right) ^{n} \right] }{8 \pi r^6}. \end{aligned}$$
(43)

With these setups, the radial and transverse pressures in (11) and (11) are leads to

$$\begin{aligned} \mathcal {P}_r=- \frac{r_0 \left( \left( \frac{r_0}{r}\right) ^2 r^3-\left( \frac{r_0}{r}\right) ^{2n} \alpha r_0 \right) }{8 \pi r^6}, \end{aligned}$$
(44)

and

$$\begin{aligned} \mathcal {P}_t=-\frac{\left( \frac{r_0}{r}\right) ^{n+1} \left[ 2 \alpha \left( \frac{r_0}{r}\right) ^{n+1} n-r^2 n +6 \alpha \left( \frac{r_0}{r}\right) ^{n+1}-r^2 \right] }{16 \pi r^4}, \end{aligned}$$
(45)

respectively. In the present work we are going to focus on \(n=1\). From Figs. 1, 2 and 3, we observe that the geometrical flare-out condition is satisfied at the wormhole throat, i.e., \(b'(r_0)<1\). In all plots the wormhole throat is set to one, i.e. \(r_0=1\). Again in general we need some EoS in order to satisfy the trace of the field equation that we already discussed.

4 Wormhole mass function and the effect of \(\alpha \) on the wormhole throat

In order to estimate the effect of the parameter \(\alpha \) on the wormhole throat we precede as follows. From the first field equation (9) we can express b(r) as follows

$$\begin{aligned} b(r)= -\frac{r^3}{2 \alpha }\left( 1 \pm \sqrt{1+ \frac{32 \alpha \pi }{r^3}\int _{r_0}^{r} \rho (r') r'^2 dr' +\frac{4 b_0 \alpha }{r^3}} \right) . \end{aligned}$$
(46)

In the last equation we have identified integrating constant C with the wormhole throat radius, i.e. \(C=b_0\). We can chose the \(-ve\) branch of solution and taking the series expansion around \(\alpha \), we obtain the Morris-Thorne solution as a special case

$$\begin{aligned} b(r)=b_0+8 \pi \int _{r_0}^{r} \rho (r') r'^2 dr'+\cdots . \end{aligned}$$
(47)

Now, the wormhole mass function is related to the shape function as follows \(b(r)=2\, m(r)\). Then the total mass of the wormhole is given by:

$$\begin{aligned} M=\lim _{r\rightarrow \infty } m(r). \end{aligned}$$
(48)

For the Morris-Thorne wormhole the mass function we obtain

$$\begin{aligned} m^{MTH}(r)=\frac{b_0}{2}+4 \pi \int _{r_0}^{r} \rho (r') r'^2 dr'. \end{aligned}$$
(49)

On the other hand, the mass function for the 4D EGB wormhole, one gets

$$\begin{aligned} m(r)=-\frac{r^3}{4 \alpha }\left( 1 - \sqrt{1+ \frac{32 \alpha \pi }{r^3}\int _{r_0}^{r} \rho (r') r'^2 dr' +\frac{4 b_0 \,\alpha }{r^3}} \right) , \end{aligned}$$
(50)

Finally, if we express the \(b_0\) from Eq. (46), we obtain

$$\begin{aligned} b_0=\underbrace{b(r)-8 \pi \int _{r_0}^{r} \rho (r') r'^2 dr'}_{b^{MTH}_0}+\frac{\alpha b^2(r)}{r^3}, \end{aligned}$$
(51)

Using Eq. (47) we see that

$$\begin{aligned} b_0=b^{MTH}_0+\frac{\alpha b^2(r)}{r^3}. \end{aligned}$$
(52)

Hence, at the wormhole throat \(b(r_0)=r_0\), we obtain

$$\begin{aligned} b_0=b^{MTH}_0+\frac{\alpha }{b_0}. \end{aligned}$$
(53)

Finally, solve for \(b_0\), we have

$$\begin{aligned} b_0=\frac{b^{MTH}_0}{2}\pm \frac{\sqrt{\left( b^{MTH}_0\right) ^2+4 \alpha }}{2}. \end{aligned}$$
(54)

We can accept as a physical solution the positive one. This equation shows that the parameter \(\alpha \) increases the wormhole throat compared to the Morris-Thorne case. However, for any \(\alpha >0\) we see that the mass function of the wormhole in 4D EGB theory is different from the Morris-Throne wormhole. In other words, having the same mass, means no effect of \(\alpha \) on the wormhole throat. We can see that taking the limit \(\alpha \rightarrow 0\), we have \(b_0=b^{MTH}_0\). Moreover, one may investigate the behavior of ADM mass as the wormhole geometry requires asymptotic flatness spacetime. Thus, (6) the expression in a more convenient form (4D case), as

$$\begin{aligned} ds_\Sigma ^2=\phi (r) dr^2+r^2\chi (r) \left( d\theta ^2+\sin ^2\theta d\varphi ^2\right) , \end{aligned}$$
(55)

where \(\phi (r)= \left( 1-\frac{b(r)}{r} \right) ^{-1}\) and \(K(r)=\chi (r)\). If we follow the approach in [102], for the ADM mass reduces to

$$\begin{aligned} m_{ADM}=\lim _{r\rightarrow \infty }\frac{1}{2}\left[ -r^2\chi '+r(\phi -\chi )\right] . \end{aligned}$$
(56)

Here, \(\chi (r)=1\), which means that for minimum value of the r-coordinate \(m_{\text {ADM}}=\frac{r_0}{2}\), but this situation is strictly depending on the values of b(r). Here, we would like to point out that different values of b(r) correspond different ADM mass for the wormholes. Interestingly the two definitions of the wormhole mass, ADM mass and the total mass are in agreement if the corresponding spacetime is asymptotically flat. As our wormhole solutions is not asymptotically flat at \(r \rightarrow \infty \), but we can consider a flat space in the asymptotic limit by taking into account thin shells. For instance, one can cut the original spacetime at a given hypersurface and paste it together with an exterior spacetime leading to a boundary between the two regions with a surface stress-energy tensor. This procedure must be done imposing the Israel junction conditions [104] at the boundary surface \(r = R > r_0\), using the cut-and-paste technique [103] to avoid the presence of horizons and singularities.

Since, due to the spherical symmetry the components \(g_{\theta \theta }\) and \(g_{\phi \phi }\) are already continuous, and so one is left with imposing the continuity of \(g_{tt}\) and \(g_{rr}\), by \(g_{tt(\text {int})}=g_{tt(\text {ext})}\) and \(g_{rr(\text {int})}=g_{rr(\text {ext})}\) at \(r = R\). The ranges of t and r are \(-\infty<t <+\infty \) and \(r_0 \le r <+\infty \), where \(r_0\) is the radius of the wormhole throat. Here, the interior wormhole solution is being matched with exterior Schwarzschild geometry. Now, using \(1-b(R)/R= 1-2M/R\), we obtain

$$\begin{aligned} M= \frac{b(R)}{2}, \end{aligned}$$
(57)

which is the total mass of the wormhole depending on the values of b(r). Furthermore, as wormhole is a tunnel-like structure through space and is itself empty of all space and mass. The space around the hole must have some mass, to contain the hole of the wormhole. So, there is no critical mass for the wormholes. However, one may consider the scenario if a wormhole accretes matter, in that case, there might be a maximal mass of a wormhole accreting matter and eventually a point of a ’steady state’ where the accreted matter all ends up on the other side. This is an interesting point for investigation in the near future and has added further comments.

Fig. 5
figure 5

The behavior of NEC and SEC diagrams have been plotted for the isotropic wormhole against r. Here also NEC is violated, this implies WEC is also violated. For plotting the constants are \(\alpha =0.1\) and \(r_0=1\) along with \(\omega _t=0.5\)

Fig. 6
figure 6

The behavior of NEC and SEC diagrams have been plotted for the anisotropic wormhole against r. Here also NEC is violated, this implies WEC is also violated. For plotting the constants are \(\alpha =0.1\) and \(r_0=1\) along with \(\omega _t=-1/3\)

Fig. 7
figure 7

Plots for NEC (left panel) and SEC diagrams (right panel) against radial coordinate and depending on \(\rho (r)=\rho _0(r_0/r)^{\beta }\). In this cases, NEC is violated outside the throat whereas SEC is violated throughout the spacetime. We use the numerical values \(\alpha =0.1\) and \(r_0=1\), \(\rho _0=0.01\) along with \(\beta =4\), respectively

Fig. 8
figure 8

Plots for NEC and SEC diagrams in the left and right panel against radial coordinate depending on the shape function \(b(r)=r(r_0/r)^{n+1}\). The results seem NEC and SEC are violated throughout the spacetime. We use the numerical values \(\alpha =0.1\) and \(r_0=1\) along with \(n=1\), respectively

5 Embedding diagram

In this section we will analyze the embedding diagram that helps us to impose the demand of the spacetime metric (6) describe a wormhole. Of particular interests the geometry, we consider an equatorial slice \(\theta =\pi /2\) at some fix moment in time \(t=const\). With this constraint the metric (6) becomes,

$$\begin{aligned} ds^2=\frac{dr^2}{1-\frac{b(r)}{r}}+r^2d\phi ^2. \end{aligned}$$
(58)

The reduced metric (58) can be embedded into a 3-dimensional Euclidean space, and in cylindrical coordinates r, \(\phi \) and z has the form

$$\begin{aligned} ds^2=dz^2+dr^2+r^2d\phi ^2. \end{aligned}$$
(59)

The embedded surface z(r) can be obtained by reversing and integrating from the last two equations, we obtain the slope

$$\begin{aligned} \frac{dz}{dr}=\pm \sqrt{\frac{r}{r-b(r)}-1}. \end{aligned}$$
(60)

With the illustration of Fig. 4, we explore the geometrical properties of these matrices (21) and (29) via the embedding diagram. Numerical values are enlisted in the caption of Fig. 4.

Fig. 9
figure 9

3D plots for ‘volume-integral quantifier’ associate with model A & B in Sect. 3. Interesting to find that when \(a \rightarrow r^{+}_0\) then \(\mathcal {I}_V \rightarrow 0\), i.e. minimize the violation of energy conditions would be possible. We consider the same set of values as of Figs. 1 and 2 with \(a=2\)

Fig. 10
figure 10

The plot depicts the ‘volume-integral quantifier’ associate with model C & D in Sect. 3. It is clear that when \(a \rightarrow r^{+}_0\) then \(\mathcal {I}_V \rightarrow 0\), also. We consider the same set of values as of Figs. 3 and 4 with \(a=2\)

6 Energy conditions

In this section we present a detail description of the energy conditions, that are sets of inequalities depending on energy momentum tensor. To be specific, we start by finding wormhole solutions for weak energy condition (WEC), i.e. \(T_{\mu \nu } U^{\mu }U^{\nu }\), where \(U^{\mu }\) is a timelike vector. For the given diagonal EM tensor, the WEC implies

$$\begin{aligned} \rho (r)\ge 0 \quad \text {and}\quad \rho (r)+\mathcal {P}_{i}(r)\ge 0, \end{aligned}$$
(61)

In next, the null energy condition (NEC) is given by \(T_{\mu \nu } k^{\mu } k^{\nu }\), where \(k^{\mu }\) is null vector. The NEC for diagonal EM tensor implies that

$$\begin{aligned} \rho (r)+\mathcal {P}_{i}(r)\ge 0, \quad i= 1,2,3 \end{aligned}$$
(62)

wereas strong energy condition (SEC) asserts that \(\left( T_{\mu \nu }-\frac{1}{2} T g_{\mu \nu }\right) U^{\mu } U^{\nu }\ge 0\) for any timelike vector \(U^{\mu }\). The strong energy condition (SEC) asserts that gravity is attractive,

$$\begin{aligned} \rho (r)+ \sum \mathcal {P}_{i}(r)\ge 0, ~~\text {and}~~ \rho (r)+\mathcal {P}_{i}(r)\ge 0. \end{aligned}$$
(63)

Note that the WEC or SEC imply NEC, but it follows that any violation of the NEC also violates the SEC, WEC, and DEC.

Now we consider, the reduced NEC for master Eqs. (9)–(11), when evaluated at the throat is given by

$$\begin{aligned} \rho (r)+\mathcal {P}_{r}(r)|_{r=r_0}=\frac{\left( r^3+2\alpha b(r) \right) (r b'(r)-b(r))}{8 \pi r^6}|_{r=r_0}. \end{aligned}$$
(64)

On the other hand the strong energy condition (SEC) stipulates that

$$\begin{aligned} \rho (r)+\mathcal {P}_t(r)\ge 0, \end{aligned}$$
(65)

yielding

$$\begin{aligned} \rho (r)+\mathcal {P}_t(r)|_{r=r_0}=\frac{b(r)\left( r^3-9 \alpha b(r)+4 r \alpha b'(r) \right) }{8 \pi r^6}|_{r=r_0}. \end{aligned}$$
(66)

Finally using Eq. (63), we have

$$\begin{aligned} \rho (r)+\mathcal {P}_{r}(r)+2\mathcal {P}_t(r)\ge 0, \end{aligned}$$
(67)

thereby, at the wormhole throat which yields

$$\begin{aligned} \frac{b(r)\left( -4 \alpha b(r)+2 \alpha r b'(r) \right) }{4 \pi r^6}\Bigg |_{r=r_0}. \end{aligned}$$
(68)

In Figs. 5, 6, 7 and 8 we present the energy conditions for all specific cases. In all plots we have chosen a positive value of the Gauss-Bonnet coupling constant \(\alpha \), and obtained results suggest that the energy conditions in general are not satisfied at the wormhole throat. Particularly, one can easily see that for \(\alpha >0\) the NEC, and consequently the WEC, are violated at the throat, due to the flaring-out condition.

7 Volume integral quantifier

The starting point of this discussion is to evaluate the volume integral quantifier, which provides information about the ‘total amount of exotic matter’ required for wormhole maintenance. To do this one can compute the definite integrals \(\int {T_{\mu \nu }k^\mu k^\nu }\) and \(\int {T_{\mu \nu }U^\mu U^\nu }\), where \(U^\mu \) is the four-velocity [13, 95]. The most usual choice is the integral including \(\rho \) and \(\mathcal {P}_r\), with the following definite integrals \(I_V =\int \left( \rho (r)+\mathcal {P}_r(r)\right) \mathrm {d}V\), where \(\mathrm {d}V=r^2\sin \theta \mathrm {d}r \mathrm {d}\theta \mathrm {d}\phi \). In this method, the total amount of exotic matter is measured by

$$\begin{aligned} \mathcal {I}_V=\oint [\rho +\mathcal {P}_r]~\mathrm {d}V=2 \int _{r_0}^{\infty } \left( \rho +\mathcal {P}_r\right) ~\mathrm {d}V, \end{aligned}$$
(69)

which can also be written as

$$\begin{aligned} \mathcal {I}_V =8 \pi \int _{r_0}^{\infty } \left( \rho +\mathcal {P}_r \right) r^2 dr. \end{aligned}$$
(70)

Suppose now that the wormhole extends from the throat, \(r_0\), with a cutoff of the stress energy tensor at a certain radius a, one deduces

$$\begin{aligned} \mathcal {I}_V= 8 \pi \int _{r_0}^{a} \left( \rho +\mathcal {P}_r \right) r^2 dr, \end{aligned}$$
(71)

where \(r_0\) is the throat radius and hence the minimum value of r. The key point of this discussion is when the limit as \(a \rightarrow r^{+}_0\), one verifies that \(\mathcal {I}_V \rightarrow 0\). For each wormhole solutions we found from Figs. 9 and 10 that one may construct wormhole solutions with small quantities of exotic matter, which needs to hold open the wormhole throat. This is all in agreement with general theorems on the wormhole energy conditions. According to the topological cosmic censorship conjecture by Friedman, Schleich, and Witt [100] that any two causal curves extending from past to the future null infinity is homotopy equivalent to each other. Moreover, this theorem tells us that in a spacetime containing a traversable wormhole the averaged null energy condition must be violated along at least some (not all) null geodesics, but the theorem provides very limited information on where these violations occur. Beside of that the essential features of a wormhole geometry are largely encoded in the spacelike section and in the condition for nonexistence of horizons (\(g_{00} \ne 0\)). However, our model does violate WEC in some interval of time (but not always). In this sense it is impossible to probe the interior topology actively from far away.

Indeed there are counterexamples to passive topological censorship. Now the question is to what extent our wormhole agrees with these notions. If our spacetime is asymptotically anti-de Sitter and not globally hyperbolic the answer is not quite obvious. There are few examples related to cosmic censorship in a Kerr-like phantom wormhole (WH) which contains a singularity that is not protected by an event horizon [101]. However, these wormholes were not traversable, and furthermore would, in principle, develop some type of singularity also.

Since, our solution is Lorentzian wormholes possibly through which observers may freely traverse. In this situation, discussion about topological censorship is very different -both mathematically and physically – from the theorem considered in this paper and their discussion is beyond its scope.

8 Ending comments

In this paper, we explore Morris–Thorne wormholes, i.e., static and spherically symmetric traversable wormholes, in the framework of recently formulated 4D EGB. Throughout our discussion we consider a constant redshift function i.e., \(\Phi '(r)= 0\), which simplifies the calculations and provides interesting exact wormhole solutions. Firstly, we have found an exact solution in 4D EGB supported isotropic matter source. Importantly we also found a wormhole solution supported by anisotropic matter source with EoS relating two pressure components. Moreover, we have considered a specific shape function, power law energy density profile. Here we have shown that the flare-out condition is satisfied for different models with the positive coupling constant \(\alpha \). To this end, we have analyzed the null, weak, and strong conditions at the wormhole throat with a radius \(r_0\), and shown that in general the classical energy conditions are violated by some small and arbitrary quantities at the wormhole throat for \(\alpha >0\). The GB quadratic curvature terms made a profound influence on the obtained solutions which revealed interesting features.

Further, the results presented here are a generalization of previous discussions on Moriss-Thorne wormholes of GR which are encompassed as special case in the limit \(\alpha \rightarrow 0\). The possibility of generalization of wormholes to rotating case and more general Lovelock gravity theories [93] are interesting problems which are being actively considered.