$\newcommand{\P}{\mathbb{P}}$Suppose $A$ and $B$ are dependent, $C$ and $B$ are dependent, i.e. $$ \P(A \cap B) = \P(A) \P(B|A) $$ with $\P(B|A) \neq \P(B)$ and $$\P(C\cap B) = \P(C)\P(B|C)$$ with $\P(B|C) \neq \P(B)$.
Can we say anything certain about the (in)dependence of $A$ and $C$?
If not, when are $A$ and $B$ (in)dependent?